[GRASS-dev] fonts and character encoding
Daniel Calvelo
dca.gis at gmail.com
Sun May 13 16:58:07 EDT 2007
On 5/13/07, Michael Barton <michael.barton at asu.edu> wrote:
> On 5/12/07 2:08 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:
[...]
> > You can get the Windows
> > codepage by parsing the output from "mode con cp /status", although
> > there might be better solutions. iconv appears to accept cp??? for
> > most of the common ones (e.g. cp437 = US, cp850 = western Europe,
> > etc).
>
> Sorry to bother, but how can I get this information from within TclTk or
> wxPython?
system("mode con cp /status > some_temp_name_probably_from_g.temp")
then open and parse it?
Daniel.
--
-- Daniel Calvelo Aros
More information about the grass-dev
mailing list