Bug report #7794
Fail create a spatial index with shape file that contain Japanese in the file name
|Affected QGIS version:||master
|Pull Request or Patch supplied:||No
|Crashes QGIS or corrupts data:||No
||Copied to github as #:||16686
When create a spatial index with shape file that contain Japanese in the file name,always fail.
This bug occurs in "general" "Create spatial index" of the Layer Properties.
I was confirmed by Windows7 .
I was able to create a spatial index in the file that was changed to not a Japanese file name and path name.
I guess that it might be to also occur in other languages other than Japanese.
I can confirm this with SJIS shapefile, but the creation works with UTF-8 shapefile.
Steps to reproduce:
1. make a shapefile that includes non-ascii characters in the filename
2. turn on the "Ignore shapefile encoding declaration" option
3. open the shapefile and select an encoding other than UTF-8
4. do "Create spatial index"
I had success make create spatial index with shape file that contain Japanese in the file name.
It require processing of Encoding fixer plugin for files I used.
I will try to test for some files.
If Shapefile has not encoding information, it is necessaryto to use Fix Shapefile Encoding plugin setting LDID byte to 0x13 or making CPG file.
- Status changed from Open to Closed
Better document this on the manual? Pull req welcome.
The pull request was merged. Fixed in changeset a2776da.
Also available in: Atom