[QGIS-trac] Re: [Quantum GIS] #2419: qgis standalone crashes when opening a vector layer with "Shift-JIS" encoding

Quantum GIS qgis at qgis.org
Thu May 27 14:48:48 EDT 2010


#2419: qgis standalone crashes when opening a vector layer with "Shift-JIS"
encoding
--------------------------------------------------------------+-------------
        Reporter:  toltec77                                   |         Owner:  nobody       
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.5.0
       Component:  Data Provider                              |       Version:  HEAD         
      Resolution:                                             |      Keywords:  vector       
Platform_version:                                             |      Platform:  All          
        Must_fix:  Yes                                        |   Status_info:  1            
--------------------------------------------------------------+-------------
Comment (by ctimko):

 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.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2419#comment:8>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list