[MonoDevelop] UTF-16 support?

Mike Krüger mkrueger at xamarin.com
Tue Mar 27 05:57:41 UTC 2012


I've implemented another encoding detection/loading algorithm (However, 
still not used in file->open, but I'll change that). Can you give me 1-2 
files that cause problems in so that I can check that these 
specific files are working ?

> Hi-
> I'm new to MonoDevelop, but not new to .NET development.I have a C# 
> project with UTF-16 characters, that appear not to be interpreted 
> within MonoDevelop.
> One of the .cs files in my Project is of UTF-16 encoding, and that 
> MonoDevelop does not display the characters in the code window, nor 
> will it print out the contents of those character strings.I dropped 
> that file from that included project and re-added it, but was not 
> given the option to add my file with encoding.
> The only place where I saw I could add a file with encoding was in the 
> Open dialog; but that that didn't appear to work either.
> I can take my Windows C# file, cut and paste the characters into 
> BBEdit and save on my Mac with encoding set as: UTF-16.I then locate 
> the file in the Finder and the characters are as I expect.With the 
> Mono Development environment open, I navigate to my file, select 
> Encoding to "UTF-16" and select Open.
> I don't see my characters. I see an empty box where the character 
> should be.
> What are the tips and tricks for getting UTF-16 characters to display 
> and print as part of an included project in MonoDevelop?I'm just not 
> seeing it.
> I am on version
> Many thanks;
> Megan
> _______________________________________________
> 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/20120327/97f0ad83/attachment-0001.html>

More information about the Monodevelop-list mailing list