Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=76758 --- shadow/76758 2005-12-07 01:02:50.000000000 -0500 +++ shadow/76758.tmp.14513 2005-12-07 01:45:19.000000000 -0500 @@ -1,12 +1,12 @@ Bug#: 76758 Product: Mono: Class Libraries Version: 1.1 OS: unknown OS Details: Tested under Windows XP SP2 and CentOS 3.4 -Status: REOPENED +Status: NEEDINFO Resolution: Severity: Unknown Priority: Major Component: CORLIB AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] @@ -168,6 +168,29 @@ http://www.go-mono.com/docs/[EMAIL PROTECTED] ÿ in ansi character set is 255. http://www.fingertipsoft.com/3dkbd/ansitable.html So shouldn't System.Text.Encoding.Default.GetBytes("ÿ") return 255? + +------- Additional Comments From [EMAIL PROTECTED] 2005-12-07 01:45 ------- +Either the description on ANSI or the documentation (which comes from +ECMA CLI specification) is wrong. For example, I have Shift_JIS +encoding for my default ANSI code page, but it never treats 255 as y +diaeresis. + +BTW can you try this code *under MS.NET* and write the output here? +Hopefully it tells us which ANSI codepage you used to save your source +code. + +using System; +using System.Globalization; + +public class Test +{ + public static void Main () + { + TextInfo ti = CultureInfo.CurrentCulture.TextInfo; + Console.WriteLine (ti.ANSICodePage); + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
