[Mono-dev] Build error in svn
Kornél Pál
kornelpal at hotmail.com
Thu Aug 25 11:13:41 EDT 2005
UTF-8 should ignore invalid character representations like "é" (0xe9). BTW
the code compiles with csc.exe with code page set to UTF-8
(csc -codepage:65001 -target:library ComIStreamMarshaler.cs) altough I got
error when I used "é" in identifiers. But UTF8Encoding should simply ignore
invalid character representations. I think other code pages are parsing all
bytes as well so there should be no problems using non-ascii characters
after // because it's very unlikely to parse these characters as line break
and any other characters will be ignored.
The above things are regarding the behaviour of mcs and UTF8Encoding not the
source files of Mono.
Maybe we should use UTF-8 for source files.
Kornél
----- Original Message -----
From: "Jonathan S. Chambers" <Jonathan.Chambers at ansys.com>
To: "Kornl Pl" <kornelpal at hotmail.com>; "Atsushi Eno" <atsushi at ximian.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Thursday, August 25, 2005 4:59 PM
Subject: RE: [Mono-dev] Build error in svn
Unicode (UTF-8)
utf-8
65001
- Jonathan
-----Original Message-----
From: Kornl Pl [mailto:kornelpal at hotmail.com]
Sent: Thu 8/25/2005 10:56 AM
To: Jonathan S. Chambers; Atsushi Eno
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Build error in svn
Run the attached code on the system you try to compile mcs tree. And tell us
the results. (It prints some redundant information but why not. :)
Kornl
----- Original Message -----
From: "Jonathan S. Chambers" <Jonathan.Chambers at ansys.com>
To: "Atsushi Eno" <atsushi at ximian.com>; "Kornl Pl" <kornelpal at hotmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Thursday, August 25, 2005 4:42 PM
Subject: RE: [Mono-dev] Build error in svn
Please tell the newbie how to determine what encoding I am using.
Thanks.
-----Original Message-----
From: Atsushi Eno [mailto:atsushi at ximian.com]
Sent: Thu 8/25/2005 10:27 AM
To: Kornl Pl
Cc: Jonathan S. Chambers; mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Build error in svn
Kornl Pl wrote:
> This has to be an mcs bug as I (nor anybody else) did not modify this file
> for 2 months and it compiled on previous mcs versions (it is part of the
> class library so it has to) and it compiles on csc.exe.
Or might be bugs in Encoding class if the build fixes after my patch.
If so please tell us what locale you are using, Jonathan.
Atsushi Eno
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list