Ok, now am removing all characters that is not accepted by
UTF8Encoding from mcs sources. Maybe they are mostly contributor
names, but don't get me wrong. They should not be in the
international project.

Atsushi Eno

Kornél Pál wrote:
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" <[EMAIL PROTECTED]>
To: "Kornl Pl" <[EMAIL PROTECTED]>; "Atsushi Eno" <[EMAIL PROTECTED]>
Cc: <mono-devel-list@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:[EMAIL PROTECTED]
Sent: Thu 8/25/2005 10:56 AM
To: Jonathan S. Chambers; Atsushi Eno
Cc: mono-devel-list@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" <[EMAIL PROTECTED]>
To: "Atsushi Eno" <[EMAIL PROTECTED]>; "Kornl Pl" <[EMAIL PROTECTED]>
Cc: <mono-devel-list@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:[EMAIL PROTECTED]
Sent: Thu 8/25/2005 10:27 AM
To: Kornl Pl
Cc: Jonathan S. Chambers; mono-devel-list@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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to