On Jul 21, 2011, at 2:47 PM, Pablo Ruiz wrote:
> Mono uses UTF8 as default encoding. .Net uses UTF16
Note quite. Encoding.Default is "ANSI", which is…~anything on .NET (latin1,
Shift-JIS, Big-5, whatever), but _not_ Unicode or UTF-8. On Mono,
Encoding.Default is always UTF-8.
http://msdn.microsoft.com/en-us/library/system.text.encoding.default.aspx
This won't change anytime soon.
The problem is that the byte sequence { 0, 193, 146, 215 } is meaningless
without an encoding to interpret it, and .NET and Mono use different default
encoding.
- Jon
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list