[GRASS-user] Re: Using non-ASCII chartacters in r.reclass rules file

Glynn Clements glynn at gclements.plus.com
Sat Jul 30 17:12:52 EDT 2011


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.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list