[GRASS-dev] WinGRASS and non-latin letters

Glynn Clements glynn at gclements.plus.com
Fri Mar 18 20:21:03 EDT 2011


Maris Nartiss wrote:

> The root of the problem: CMD (and thus also .bat files) use OEM
> encoding, GUI applications use ANSI encoding.

The console functions (WriteConsole etc) use the OEM encoding. 
Everything else uses ANSI encoding. In particular, the argv parameter
passed to main uses ANSI encoding. This is true for both "console" and
"GUI" programs.

AFAICT, the only situation where the OEM encoding will make its way
into GRASS is via curses.

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


More information about the grass-dev mailing list