Re: [Mono-dev] Possible Bug in Mono?

2010-09-06 Thread Atsushi Eno
Hello, source code encoding can be specified when you save a source file on MonoDevelop (there is a combobox for encoding option). On compilation, monodevelop takes compiler options from the project properties. I don't know which encoding MonoDevelop on Windows uses by default (I don't have

Re: [Mono-dev] Possible Bug in Mono?

2010-09-06 Thread anidotnet
Atsushi Eno-2 wrote: > > (In general, avoid using such ambiguous email subject; it makes > searching relevant messages difficult.) > First of all sorry for the inconvenience caused due to short ambiguous subject of the email. Atsushi Eno-2 wrote: > > You can avoid such a problem by avoid

Re: [Mono-dev] Possible Bug in Mono?

2010-09-06 Thread Atsushi Eno
(In general, avoid using such ambiguous email subject; it makes searching relevant messages difficult.) It correctly works for me. Make sure that you don't have your source encoding and compiler -codepage argument or default encoding mismatching. The default encoding is platform dependent. Yo

[Mono-dev] Possible Bug in Mono?

2010-09-06 Thread anidotnet
I have the following functions to get the Unicode representation of a string - public static string ToUnicode(this string strA) { var writer = new StringWriter(); try { foreach (char c in strA)