[GRASS-dev] fonts and character encoding

Michael Barton michael.barton at asu.edu
Mon May 14 09:13:50 EDT 2007


Thanks. I can use TclTk to find out what kind of system I'm on and implement
this or the other code to find out the encoding.

Michael


On 5/14/07 12:32 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

>> Sorry to bother, but how can I get this information from within TclTk or
>> wxPython? 
> 
> set str [exec mode con cp /status]
> regexp {[0-9]+} $str num
> set encoding cp$num

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list