[Qgis-user] RE: utf-8 no more :(

Koos Hagg hagg.koos at gmail.com
Fri Mar 23 03:24:33 PDT 2012


Well, I have a liking to always getting the nightly builds... :)

I found this: http://ssrebelious.blogspot.com/2012/03/qgis-and-gdal19-encoding-issue.html

 a blog post which talks about this workaround:
   ""The workaround I'm currently using is creating additional
.cpg-file, that contains the ID of the encoding used. For example if
encoding is Windows-1251, .cpg-file contains the following record:
"1251" (without quotes). When .cpg-file is present, GDAL>=1.9 + QGIS
works just fine.""

I tried it (with the utf encoding ID- 65001) but it didn't work for
me. I basically made a text file in notepad++ and named it the same as
my shapefile, with .cpg as the suffix. or is there more to it than
that?

in a way it's kind of fun to figure out these challenges :)

Koos



More information about the Qgis-user mailing list