Re: [Qgis-user] OSM plugin encoding problem
EDIT: I just saw that there is a brandnew Shapefile Encoding Fixer plugin available for qgis. I haven't tried it yet, but it might be what you want. The plugin helps in most cases by fixing broken encoding *declaration*. However, it won't help if also the encoding (not only its declaration) is broken. It's strange the ENCODING=UTF-8 in the SaveAs dialog didn't work. I Did you put it to the layer or datasource option? I don't remember which place is right, so I put it to both :) About the pugin, it only contains a limited set of encodings included. Let me know if you need another one, I'll add it. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] OSM plugin encoding problem
Am 10.03.2013 12:57, schrieb Borys Jurgiel: EDIT: I just saw that there is a brandnew Shapefile Encoding Fixer plugin available for qgis. I haven't tried it yet, but it might be what you want. The plugin helps in most cases by fixing broken encoding *declaration*. However, it won't help if also the encoding (not only its declaration) is broken. It's strange the ENCODING=UTF-8 in the SaveAs dialog didn't work. I Did you put it to the layer or datasource option? I don't remember which place is right, so I put it to both :) Neither of both: I wrote SET SHAPE_ENCODING=UTF-8 into the qgis.bat file, so that it is loaded as a system variable. That was the only way it worked for me. But with QGIS master nad next stable that problem is fixed anyhow. There was some kind of misunderstanding between GDAL and QGIS developers in how and who should do the encoding. Greetings, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] OSM plugin encoding problem
Hi, I'm using the OSM plugin for qGIS to convert some .osm data to shapefiles. The .osm data in question has cyrillic characters in some the tags, but when I save as a shapefile something seems to be going wrong: The cyrillic characters all appear as question marks in the resulting attribute table. I've tried specifying the encoding as UTF-8 in the 'save vector layer as ...' dialog box (this is the encoding system used by OSM, correct?) but it doesn't seem to help. Thanks, Nick ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] OSM plugin encoding problem
Am 10.03.2013 06:20, schrieb Nicholas Klein-Baer: Hi, I'm using the OSM plugin for qGIS to convert some .osm data to shapefiles. The .osm data in question has cyrillic characters in some the tags, but when I save as a shapefile something seems to be going wrong: The cyrillic characters all appear as question marks in the resulting attribute table. I've tried specifying the encoding as UTF-8 in the 'save vector layer as ...' dialog box (this is the encoding system used by OSM, correct?) but it doesn't seem to help. That's a known bug in QGIS Lisboa. It has nothing to do with the OSM plugin, but with the shapefile driver. You can use QGIS Master version (where the problem is fixed), save to GML or spatialite database, or try some of the workarounds mentioned here: http://gis.stackexchange.com/questions/44009/how-to-read-greek-fonts-iso-8859-7-in-shapefile-attributes-within-qgis-1-8-0 The success of those workarounds is a bit operating-system-dependent. HTH, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] OSM plugin encoding problem
Am 10.03.2013 08:09, schrieb Andre Joost: Am 10.03.2013 06:20, schrieb Nicholas Klein-Baer: Hi, I'm using the OSM plugin for qGIS to convert some .osm data to shapefiles. The .osm data in question has cyrillic characters in some the tags, but when I save as a shapefile something seems to be going wrong: The cyrillic characters all appear as question marks in the resulting attribute table. I've tried specifying the encoding as UTF-8 in the 'save vector layer as ...' dialog box (this is the encoding system used by OSM, correct?) but it doesn't seem to help. That's a known bug in QGIS Lisboa. It has nothing to do with the OSM plugin, but with the shapefile driver. EDIT: I just saw that there is a brandnew Shapefile Encoding Fixer plugin available for qgis. I haven't tried it yet, but it might be what you want. HTH, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user