-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qgis standalone crashes when opening a vector layer with "Shift-JIS" encoding #12479
Comments
Author Name: toltec77 - (toltec77 -) Update: it was related to encoding. The program works fine when encoding is "UTF-8," but fails when it is "Shift-JIS." |
Author Name: Giovanni Manghi (@gioman) Hi, this is replicable with the standalone installer but not with the osego4w one. |
Author Name: Charles Timko - (Charles Timko -) I was able to reproduce this on Mac OS X. I think it would be best if this was definitely fixed for the 1.5 release. I am looking at a crash dump though, and it is pointing at [[QtCore]] as the culprit of the crashing [QTextCodec::toUnicode(char const*) to be more specific]. |
Author Name: Charles Timko - (Charles Timko -) Looks like a general protection fault in QTextCodec::toUnicode. |
Author Name: Charles Timko - (Charles Timko -) I am unable to reproduce this error when using "System" encoding on a Mac. I can only reproduce when I change the encoding from System to Shift-JIS. toltec77, does that work for you using System over Shift-JIS? |
Author Name: Charles Timko - (Charles Timko -) Ok, I have some more data: Debug: /Users/ctimko/Documents/workspace/qgis/src/core/qgsvectordataprovider.cpp: 144: (setEncoding) error finding QTextCodec for SHIFT-JIS Doesn't look like QTextCodec supports Japanese. This error was created when I set the encoding within xml as shift-jis. Now, loading the file again with the shift-jis as the XML encoding, and I told the dialog to use System, this removed the error (of course), but it's attempt at parsing the file resulted in a crash. I will try with other foreign encodings. |
Author Name: yoichi Kayama (@yoichigmf) This problem was talked in Japanese community. To packeger, please include Qt plugins of codec to 1.5 new package. |
Author Name: Jürgen Fischer (@jef-n) Qt packaging issue - not a QGIS problem.
|
Author Name: toltec77 - (toltec77 -)
Original Redmine Issue: 2419
Redmine category:build/install
Assignee: nobody -
Downloaded QGIS-1.4.0-1-No-GrassSetup.exe today. After installed and started the QGIS, A raster layer of Alaska sample data (landcover.img) opened OK, but the program shut down every time I tried to open a vector (lake.gml). Same thing happens when I tried to open my vector shapefiles.
The text was updated successfully, but these errors were encountered: