[Mono-devel-list] Odd problem

Gonzalo Paniagua Javier gonzalo at ximian.com
Fri Apr 22 13:08:49 EDT 2005


On Fri, 2005-04-22 at 13:48 +0000, Jonathan Stowe wrote:

> I was going to say try setting your locale to en_GB.UTF-8
> 
>   export LANG=en_GB.UTF-8
> 
> but I have just tried print the pound sign here and it does the same
> thing :-( I then set 
> 
>   LANG=en_GB.is08859-1
> 
> and it works fine.  I think this behaviour has changed somewhere along
> the line :-(

You have to tell mcs the encoding used in your files if it's not the
default encoding. Ie, for compiling that UTF8 file, use -codepage:utf8.

-Gonzalo





More information about the Mono-devel-list mailing list