Opened 11 years ago

Closed 11 years ago

#4139 closed defect (fixed)

Use GDAL infrastructure to do string>wstring conversion

Reported by: pramsey Owned by: rburhum
Priority: normal Milestone: 1.9.0
Component: OGR_SRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

Rather than just copying the cstr buffers naively, better to use the actual character encoding conversion so that wide characters transfer cleanly.

Attachments (1)

fgdb_utf.patch (1.3 KB ) - added by pramsey 11 years ago.

Download all attachments as: .zip

Change History (2)

by pramsey, 11 years ago

Attachment: fgdb_utf.patch added

comment:1 by Even Rouault, 11 years ago

Resolution: fixed
Status: newclosed

r22642 /trunk/gdal/ogr/ogrsf_frmts/filegdb/FGdbUtils.cpp: FGDB: use CPLRecodeToWChar()/CPLRecodeFromWChar() to implement StringToWString() and WStringToString() (patch by Paul Ramsey, #4139)

Note: See TracTickets for help on using tickets.