My visual studio is now saving files in utf-8. How do i configure visual studio to save it iso-8859-1?
Set the option in Visual Studio or programmaticallySelect the Configuration Properties > C/C++ > Command Line property page. In Additional Options, add the /utf-8 option to specify your preferred encoding. Choose OK to save your changes.
Most libraries that don't hold a lot of foreign language materials will be perfectly fine with ISO8859-1 ( also called Latin-1 or extended ASCII) encoding format, but if you do have a lot of foreign language materials you should choose UTF-8 since that provides access to a lot more foreign characters.
UTF-8 is a multibyte encoding that can represent any Unicode character. ISO 8859-1 is a single-byte encoding that can represent the first 256 Unicode characters. Both encode ASCII exactly the same way.
In Visual Studio, File -> Advanced Save Options -> in "Encoding" select "Western European (ISO) - Codepage 28591".
According to this page, iso-8859-1 is called 28591 in MS lingo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With