[GRASS-dev] Re: [GRASS GIS] #882: i18n enabled winGRASS: properties dialog not opening
GRASS GIS
trac at osgeo.org
Fri Jan 22 23:17:17 EST 2010
#882: i18n enabled winGRASS: properties dialog not opening
----------------------+-----------------------------------------------------
Reporter: neteler | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: | Keywords: wingrass
Platform: All | Cpu: x86-32
----------------------+-----------------------------------------------------
Comment (by glynn):
Replying to [comment:10 neteler]:
{{{
GRASS 6.4.0svn (nc_spm_08):~ > file en.txt ja.txt
en.txt: ASCII English text
ja.txt: ISO-8859 English text
}}}
>
> So: while it advertises EUC-JP, the content appears to be ISO-8859 if I
got the test right (thanks for hint to Hamish).
Nah. "file"'s encoding detection is rather rudimentary. If it sees a mix
of ASCII and 8-bit characters, and it isn't UTF-8, it concludes that it's
ISO-8859.
Based upon this I'd say that it's EUC-JP; a Japanese locale on Unix is
likely to use either UTF-8 or EUC-JP, and file can detect UTF-8. If you
want a more accurate test, try iconv which each encoding in turn and see
which one works, or load the file in Firefox and see which encoding it
selects.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/882#comment:11>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list