[Mono-list] Extra characters in Console.Write output

Gonzalo Paniagua Javier gonzalo@ximian.com
13 Jul 2003 20:37:55 +0200


El s?, 12-07-2003 a las 19:04, Peter Williams escribió:

> This is Red Hat 9 (probably) using UTF8 on its console; the bytes are
> some kind of UTF8 endianness markers I think. I don't think it's
> possible to get rid of them in a nice way, but if you do
> 
> LC_ALL=C mono myexe.exe
> 
> they shouldn't show up.

Alternatively, you can do:

$ echo -e "\033%G"

to enable UTF-8 on the console.

-Gonzalo