[Qgis-developer] again on encoding problems

Maris Nartiss maris.gis at gmail.com
Wed Oct 24 02:59:57 PDT 2012


Hello Paolo,
I haven't seen how QGIS GRASS plug in is built, still my 0.02 from
GRASS side. Some time a go I investigated encoding problems in native
GRASS on Windows (WinGRASS) and my conclusion was - it is not possible
to fix it for GRASS 6 due to character encoding handling in Windows.
Reason was simple - there's no single coding to cover all use cases in
Windows (CLI has one system (OEM), GUI has it's legacy system (ANSI)
and add to all also Unicode in more recent code). As GRASS strings
might come in all three encodings, unless the source of string is
known, it's impossible to convert/display string correctly.

Somebody with greater QGIS part can correct me, if I'm wrong (as I
would like to be :) ).

Maris.

PS. http://lists.osgeo.org/pipermail/grass-dev/2011-March/053874.html

2012/10/24 Paolo Cavallini <cavallini at faunalia.it>:
> Hi all.
> Here in the Far East the encoding is a serious problem hampering the use
> of QGIS.
> I was just pointed out a problem with the GRASS plugin on Win:
> http://hub.qgis.org/issues/4547
> and the solution the use:
> http://osgeo-org.1560.n6.nabble.com/Qgis1-5-Grass-tt3730164.html#a3730165
> basically they set up the entire environment in EN, but this is not
> optimal, as the translation is actually there, as we can see e.g. on osx
> and of course on Linux.
> It looks a very simple problem, anybody has an idea on how to solve it
> more elegantly?
> All the best, and thanks.
>
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list