[Mono-bugs] [Bug 41613][Nor] New - Utf8Encoding.WIndowsCodePage returns different encoding.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 20 Apr 2003 00:39:13 -0400 (EDT)


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 miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=41613

--- shadow/41613	Sun Apr 20 00:39:13 2003
+++ shadow/41613.tmp.5155	Sun Apr 20 00:39:13 2003
@@ -0,0 +1,24 @@
+Bug#: 41613
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Utf8Encoding.WIndowsCodePage returns different encoding.
+
+The WindowsCodePage returns UnicodeEncoding.UNICODE_CODE_PAGE, but I
+believe that the right value might have to be UTF_CODE_PAGE
+
+The usage pattern is creating an encdoing from a code page:
+
+Encoding.GetEncoding (new UTF8Encoding().WindowsCodePage);