Hi All,

I have a problem with a character encoding problem. It could be a UTF-16 to 
UTF-8 problem or some other encoding problem.

I have an SDE Server with the DB being Oracle from which I am extracting an 
ESRI Shapefile.

Using ogr2ogr from GDAL to extract the shapefile I am losing every second 
character from strings. As an example the original string of 'Murray channel' 
is being extracted as 'Mra hne'.

Using sde2shp from the SDE Server to extract the shapefile I am not losing any 
characters from strings. But during the extraction I receive the warning:
WARNING: Possible loss of data when converting SE_NSTRING to ANSI string.

Could this problem be that GDAL is not detecting a string of SE_NSTRING and not 
dealing with it appropriately?

I doubt it would be related to platform, but the SDE Server is running on 
Windows Server 2003 32-bit and GDAL is running on GNU/Linux 2.6.18-194.el5 
64-bit

Thanks or any help,
Brett
Brett Walker <[email protected]<mailto:[email protected]>>
Software Developer / Analyst
Geometry Pty Ltd

Telephone               03 6223 1999
Mobile                     0458 498 386
Fax                          03 6223 1988
Web                        www.geometryit.com<http://www.geometryit.com/>
Address                   31 Salamanca Square, Battery Point, TAS 7004, 
Australia

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to