7.3.1 Source File Encoding
Under the CCI, a source file must be written using characters from the 7-bit
ASCII set. Lines can be terminated using a line feed
(\n)
or carriage return
(\r)
that is immediately followed by a line feed. Escaped
characters can be used in character constants or string literals to represent extended
characters that are not in the basic character set.
Example
The following shows a string constant being defined that uses escaped characters.
const char myName[] = "Bj\370rk\n";
Differences
All compilers have used this character set.
Migration to the CCI
No action required.