The C standard refers to the source character set, which is the character set that it expects to find in the source files, and the run character set, which is the character set used initially by the target platform.
For most modern computers that you are likely to encounter, the source and executive character sets will be the same.
The type string if (ch == 'c')will be saved in the source file as a sequence of values ββfrom the source character set. For the part, the 'c'representation is most likely 0x27 0x63 0x27where they 0x27represent single quotation marks, but 0x63represent a letter c.
, 0x63 . .
, , (, , - IBM, EBCDIC), , 0x63 c, .
, , . , ( ), , .
" ASCII" : A c 0x63 0x63.
ASCII, . , Unicode, UTF-8, UTF-16 UTF-32, Unicode ( ) .
, , / , , , , .
Unicode ( Unicode). Unix- UTF-8. Windows UTF-8 UTF-16, , .
Unicode, (, ) ASCII .
, (, ), : (1) , (2) (3) .
unix UTF-8, UTF-8 .
Windows Unicode (BOM), UTF-16 UTF-8. , (IsTextUnicode), , , .
, ASCII, . UTF-8 ASCII. (, ASCII UTF-8.) ASCII, ASCII . UTF-16 UTF-32 ASCII, , , .
. - . - (, , ), , .