[MonoDevelop] Source encoding

Lluis Sanchez lluis at ximian.com
Sat Feb 3 08:09:25 EST 2007


El ds 03 de 02 del 2007 a les 11:09 +0800, en/na kent sin va escriure:
> How to specify the encoding of source files?

When opening a file, you can select the encoding to use in the
"Character encoding" combo in the file open dialog. MonoDevelop can also
automatically detect a number of encodings. In the same combo there is
an Add/Remove option. It shows a dialog which allows you to select the
encodings which MD will try to use when opening a file. By default it
has UTF-8 and ISO-8859-15. If frequently use other encodings, you can
add more to the list.

> 
> I try to open some code in MonoDevelop, it got the encoding wrong. I
> am thinking to convert the encoding, but that would make it difficult
> for the original coder.
> 
> What is more problematic is that if I did not findout the cuutourrent
> encoding is wrong, and I put some thing in with a different encoding,
> after some more code exchange with the other party, that code will
> have a mixed encoding.
> 
> Is it possible for MonoDevelop to recognize like python some form of
> encoding hint in the comment at the start of a source file?
> 

Nope.

Lluis.





More information about the Monodevelop-list mailing list