[gdal-dev] Ogr2ogr does not support file name with non-ASCII character

maven apache apachemaven0 at gmail.com
Tue Jan 7 16:03:23 PST 2014


Hi:

This is a cross post first post at
http://gis.stackexchange.com/questions/82142/ogr2ogr-does-not-support-file-name-with-non-ascii-character

Since I got no answer, then I think I may post it here, this is the
original question:

I tried to use the following script to convert shapefile to mif:

ogr2ogr -f "MapInfo File" D:\docs\arcgis_data\shp_mif\BOU.mif
D:\docs\arcgis_data\shp\BOU.shp

it works.

But I found that if the name of the shapefile has non-ASCII characters like
this:

D:\docs\arcgis_data\shp\臺北.shp

Then the covert will fail with message:

Unable to open datasource `D:\docs\arcgis_data\shp\臺北.shp' with the
following drivers
......

Any idea to fix it?

Looking for replay.


Yang

2014.1.8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140108/771e5f51/attachment-0001.html>


More information about the gdal-dev mailing list