[Mono-devel-list] UTF-8 variable names

A Rafael D Teixeira rafaelteixeirabr at hotmail.com
Tue Jul 8 22:03:25 EDT 2003


I tested your source file with csc and mcs, and indeed mcs is getting lost 
because it doesn't know the file is in utf-8 encoding. I them edited it a 
bit and saved with and editor that tagged the file as utf-8 with the 
byte-order marker characters (4 specific bytes) and them mcs compiled the 
code without problems.

$ diff -u HelloWorld.cs HelloWorld2.cs
--- HelloWorld.cs       2003-07-08 22:40:41.000000000 -0300
+++ HelloWorld2.cs      2003-07-08 22:45:34.000000000 -0300
@@ -1,4 +1,4 @@
-// HelloWorld.cs - GTK Window class Test implementation
+// HelloWorld.cs - GTK Window class Test implementation

Please file a bug in our bugzilla, for us to look at it ASAP.

But for now if you want to use utf-8, please use an editor that tag the 
file.

Happy developments,

Rafael Teixeira
Brazilian Polymath
Mono Hacker since 16 Jul 2001

_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos. 
http://messenger.msn.com.br




More information about the Mono-devel-list mailing list