Hi: Thanks for your reply.
But I wonder how do I know if the file name is utf8? Since not all of the filename contain no-asci characters. Thanks 2014/1/8 Dmitriy Baryshnikov <[email protected]> > Hi, > > The GDAL utilities expected all input paths in UTF-8 encoding. If you want > to use system native encoding you have to set GDAL_FILENAME_IS_UTF8 > environment variable to NO. > http://trac.osgeo.org/gdal/wiki/ConfigOptions#GDAL_FILENAME_IS_UTF8 > > Best regards, > Dmitry > > 08.01.2014 4:03, maven apache пишет: > > 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 > > > _______________________________________________ > gdal-dev mailing > [email protected]http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
