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 <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to