Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which character set to choose when compiling a c++ dll

Could someone give some info regarding the different character sets within visual studio's project properties sheets.

The options are:
None
Unicode
Multi byte

I would like to make an informed decision as to which to choose.
Thanks.

like image 392
Adam Naylor Avatar asked Nov 17 '25 13:11

Adam Naylor


1 Answers

All new software should be Unicode enabled. For Windows apps that means the UTF-16 character set, and for pretty much everyone else UTF-8 is often the best choice. The other character set choices in Windows programming should only be used for compatibility with older apps. They do not support the same range of characters as Unicode.

like image 161
Mr. Shiny and New 安宇 Avatar answered Nov 19 '25 03:11

Mr. Shiny and New 安宇



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!