[MonoDevelop] open .cs file

Alan alan.mcgovern at gmail.com
Fri Nov 4 04:59:58 EDT 2011


The text file you're trying to open has not been saved as UTF-8. If you're
editing in WordPad/VS, ensure you select UTF-8 encoding when saving the
file. As far as I'm aware this is the default in VS, but this might not be
true. If you're reasonably certain that this should be valid UTF-8 then you
can test by creating a simple application in Visual Studio which does:

var bytes = File.ReadAllBytes (the_text_file_with_special_characters);
new System.Text.Encoding.UTF8Encoding (true, true).ToString (bytes);

If this runs and does not throw an exeception when using the Microsoft .NET
framework, then it is a bug in monos UTF-8 decoder. In that case, we'd love
a copy of the file.

Alan.

On 4 November 2011 08:50, Levi Bard <
taktaktaktaktaktaktaktaktaktak at gmail.com> wrote:

> > But your suggest had made Bingoo!!!! the problem are the accented
> > characters!!! No accent no problem...
>
> I can confirm this issue as well.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20111104/0679cfe7/attachment.html 


More information about the Monodevelop-list mailing list