Default encoding as UTF-8 in VS.NET 2005

S

Sin Jeong-hun

Even though I don't use Korean in my codes and comments, I often need
to insert Korean literals, because the target users are Koreans.
Because I have no plan to globalize those programs, I use hard-coded
literals.

Anyways, can't I set VS.NET 2005 always create and save C# files in
UTF-8 encoding? Currently it seems that VS.NET is using ascii
encoding. SharpDevelop (C# ide) has this option (Options->Text editor-
General->File Encoding : UTF-8), so I just wonder if VS.NET 2005
provides a similar option.

Thank you.
 
M

Mihai N.

Anyways, can't I set VS.NET 2005 always create and save C# files in
UTF-8 encoding? Currently it seems that VS.NET is using ascii
encoding. SharpDevelop (C# ide) has this option (Options->Text editor-
provides a similar option.

Try "File" -> "Advanced Save Options..." and select "Unicode (UTF-8 with
signature) - Codepage 65001"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top