Opened 14 years ago

Closed 5 years ago

#3764 closed defect (wontfix)

gdal2tiles unicode handling in tiled raster mode

Reported by: relet Owned by: warmerdam
Priority: low Milestone: closed_because_of_github_migration
Component: Utilities Version: unspecified
Severity: minor Keywords:


gdal2tiles currently does not allow unicode characters in the option -t (title), probably others. In the openlayers output it is missing a line

<meta http-equiv="content-type" content="text/html; charset=utf-8"/>

and the .decode()-ing and .encode()-ing of the string during input and output

possibly in generate_openlayers(), but there might be a better place:

args['title'] = self.options.title.decode('utf-8')
return s.encode('utf-8')

Change History (1)

comment:1 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to if it is not already reported there.

Note: See TracTickets for help on using tickets.