On 30/07/2011 23:12, Glynn Clements wrote:
Hermann Peifer wrote:
Question: It seems that it is not possible to use non-ascii characters. Is
it true? Is there any way to add labels to the classes and use characters
(such as á;à;ó; â)
I don't know; what error (or other unexpected behaviour) are you
getting?
I just applied the multi-lingual reclass rules below [1] to a Corine
Land Cover file. No problems so far, apart from a somewhat zig-zagging
output of r.report [2].
That's to be expected. Modules which format text into columns
generally assume that one "char" equates to one column, which isn't
the case for a multi-byte encoding such as UTF-8. It shouldn't happen
with e.g. ISO-8859-*.
This isn't something which can easily be fixed.
Thanks. I will just continue hoping that perhaps one day, GRASS will
become multi-byte aware, like Gawk. Hermann
$ /usr/bin/printf "|%-10s|\n" aaa
|aaa |
$ /usr/bin/printf "|%-10s|\n" åæä
|åæä |
$ gawk 'BEGIN{printf "|%-10s|\n", "aaa"}'
|aaa |
$ gawk 'BEGIN{printf "|%-10s|\n", "åæä"}'
|åæä |
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user