[GRASS-dev] Re: [GRASS GIS] #882: i18n enabled winGRASS: properties dialog not opening

Glynn Clements glynn at gclements.plus.com
Fri Jan 22 23:10:29 EST 2010


Markus Neteler wrote:

> > #882: i18n enabled winGRASS: properties dialog not opening
> ..
> > Comment (by glynn):
> ...
> >  That's not what I'm asking. Is the text in the <description> and <label>
> >  elements in the --interface-description output encoded in EUC-JP or in
> >  UTF-8? If it's EUC-JP, then the header should say encoding=EUC-JP. If it's
> >  in UTF-8, the header should say encoding=UTF-8.
> 
> Right. But how to find out? Maybe I don't see the obvious.

1.
	r3.info --interface-description > desc.txt

[Pick any command which actually has Japanese translations.]

2.
	iconv -f utf-8 -t utf-8 desc.txt >/dev/null

	iconv -f euc-jp -t utf-8 desc.txt >/dev/null

One of these commands should work, the other should produce an
"illegal input sequence" error.

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


More information about the grass-dev mailing list