Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

After loading a point layer out of a text file (plug in add delimited text layer) saved in ISO 8859-15 (Latin 9) out of Access, I did save the layer under Qgis 1.8 with the ISO 8859-15 encoding.

When going into the properties of the layer, it stays in UTF-8 (layer properties - general - Provider specific options - Encoding). No matter what encoding I set there, after closing and reopening the properties window it still stays in UTF-8.

Encoding seems to be still correct within the desktop Qgis, but when opening the project in the Qgis-web-client, not all special characters are correctly displayed.

Does anybody know a remedy?

share|improve this question

closed as too localized by underdark Dec 5 '12 at 12:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
On the mailing list there was talk about some encoding issues in 1.8. It might be worth checking with them if the behavior you describe is covered by the known problem and if it has been fixed in the developer version. –  underdark Dec 4 '12 at 16:40
add comment

2 Answers

Can confirm this in python console:

>>> layer = qgis.utils.iface.activeLayer()
>>> layer.dataProvider().encoding()
PyQt4.QtCore.QString(u'UTF-8')

>>> layer.setProviderEncoding(u'latin9')
>>> layer.dataProvider().setEncoding(u'latin9')

>>> layer.dataProvider().encoding()
PyQt4.QtCore.QString(u'UTF-8')

share|improve this answer
add comment

Apparently, the issue has been fixed in the development build of QGIS.

http://hub.qgis.org/projects/quantum-gis/repository/revisions/75dc85b4d652116814873bb7674cab15ce6cde66

Installed QGIS version 1.9.0-Master and tried it out, works fine.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.