Bug report #8010
Shapefile open fail (contain non ascii character in path name)
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | fixed |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16858 |
Description
Add vector layer ,using shapefile, which path has non ascii character (Japanese SJIS) open fail.
in log OGR Data source is invalid ()
When rename that file and path name using ascii characters, I was able to open the file successfully.
Old version(1.8, 1.7, 1.6...) We could open shapefiles which pathe name as Japanese characters.
I found this problem at OSGeo4W binary QGIS 5e29777
History
#1 Updated by Filipe Dias over 11 years ago
- Priority changed from High to Severe/Regression
Since this used to work in previous versions I'm updating the status to "Blocker".
#2 Updated by Minoru Akagi over 11 years ago
No problem here with the same revision (5e29777, OSGeo4W qgis-dev 1.9.0-299).
Are you using GDAL 1.9? Can you confirm that GDAL_FILENAME_IS_UTF8=NO is NOT set to environment variable?
#3 Updated by yoichi Kayama over 11 years ago
- Status changed from Open to Closed
Thank you for advice.
My binary is linked with GDAL1.92
and GDAL_FILENAME_IS_UTF8=NO is set.
Then I set null to GDAL_FILENAME_IS_UTF8 then open the shapefile with path name include Japanese.
I could open the file successfully.
Minoru Akagi wrote:
No problem here with the same revision (5e29777, OSGeo4W qgis-dev 1.9.0-299).
Are you using GDAL 1.9? Can you confirm that GDAL_FILENAME_IS_UTF8=NO is NOT set to environment variable?
#4 Updated by Nathan Woodrow over 11 years ago
- Resolution set to fixed