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 <gl...@gclements.plus.com> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev