Saving with diffrent encoding?

  • Thread starter Thread starter perspolis
  • Start date Start date
P

perspolis

Hi all
I want to save my c# files with unicode encoding.
I have some choices in encoding like:
1-Unicode-CodePage1200
2-Unicode(UTF8 with singnaure)-CodePage 65001
3-Unicode(UTF8 without singnaure)-CodePage 65001

which encoding is better to use unicode?/?
thanks in advance
 
perspolis said:
I want to save my c# files with unicode encoding.
I have some choices in encoding like:
1-Unicode-CodePage1200
2-Unicode(UTF8 with singnaure)-CodePage 65001
3-Unicode(UTF8 without singnaure)-CodePage 65001

which encoding is better to use unicode?/?

2) is good because it means that anything which understands byte-order
marks will know it's UTF-8. It also means that all ASCII characters in
your file still only take up one byte each.
 
I want to save my c# files with unicode encoding.
I have some choices in encoding like:
1-Unicode-CodePage1200
2-Unicode(UTF8 with singnaure)-CodePage 65001
3-Unicode(UTF8 without singnaure)-CodePage 65001

which encoding is better to use unicode?/?
thanks in advance
When you say "my c# files", you mean the source files?

In general the answer is "it depends"
Here are some considerations: http://www.unicode.org/notes/tn12/
 

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

Back
Top