SPRU514Z July 2001 – October 2023 SM320F28335-EP
The compiler accepts source files with one of two distinct encodings:
To choose the UTF-8 encoding in Code Composer Studio, open the Preferences dialog, select General > Workspace, and set the Text File Encoding to UTF-8.
If you use an editor that does not have a "plain ASCII" encoding mode, you can use Windows-1252 (also called CP-1252) or ISO-8859-1 (also called Latin 1), both of which accept all 7-bit ASCII characters. However, the compiler may not accept extended characters in these encodings, so you should not use extended characters, even in comments.
Wide character (wchar_t) types and operations are supported by the compiler. However, wide character strings may not contain characters beyond 7-bit ASCII. The encoding of wide characters is 7-bit ASCII, 0 extended to the width of the wchar_t type.