Ogr.RegisterAll();
Gdal.AllRegister(); OSGeo.GDAL.Gdal.SetConfigOption("GDAL_FILENAME_IS_UTF8", "YES");
以上代码,在windows10中没有问题,但是windows11,发现shp的中文名称及路径中文名称,是乱码,如何解决啊?
Ogr.RegisterAll();
Gdal.AllRegister(); OSGeo.GDAL.Gdal.SetConfigOption("GDAL_FILENAME_IS_UTF8", "YES");
以上代码,在windows10中没有问题,但是windows11,发现shp的中文名称及路径中文名称,是乱码,如何解决啊?