Bug report #7794
Fail create a spatial index with shape file that contain Japanese in the file name
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16686 |
Description
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.
Related issues
History
#1 Updated by Minoru Akagi over 11 years ago
I can confirm this with SJIS shapefile, but the creation works with UTF-8 shapefile.
#2 Updated by Minoru Akagi over 11 years ago
pull request to fix this issue: https://github.com/qgis/Quantum-GIS/pull/584
#3 Updated by Minoru Akagi over 11 years ago
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"
#4 Updated by yoichi Kayama over 11 years ago
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.
#5 Updated by yoichi Kayama over 11 years ago
If Shapefile has not encoding information, it is necessaryto to use Fix Shapefile Encoding plugin setting LDID byte to 0x13 or making CPG file.
#6 Updated by yoichi Kayama over 11 years ago
- Status changed from Open to Closed
#7 Updated by Paolo Cavallini over 11 years ago
Better document this on the manual? Pull req welcome.
Arigatou.
#8 Updated by Minoru Akagi over 11 years ago
The pull request was merged. Fixed in changeset a2776da.