Opened 17 years ago

Last modified 13 years ago

#1494 closed defect

Erroneous character encoding in xml declaration of gml files created by ogr2ogr — at Initial Version

Reported by: peter.rushforth@… Owned by: warmerdam
Priority: low Milestone:
Component: OGR_SF Version: 1.4.0
Severity: normal Keywords:
Cc: Markus Neteler

Description

When reading data files containing accented characters and writing
gml files, the data is incorrectly characterised as utf-8 in the
xml declaration.  This could be difficult to resolve since different
formats will certainly have diverse means of identifying their
data encodings.

A workaround I have used is to strip out the first line of a
gml file I know has western european characters and replace it
with an xml declaration for ISO-8859-1, using head, sed etc or other
non-xml parsing utility.

Change History (0)

Note: See TracTickets for help on using tickets.