Section VII—Expanded Character Support
C wasn't designed originally as an international programming language. Its choice of characters was based on the more or less standard U.S. keyboard. The international popularity of C, however, has led to several extensions supporting different and larger character sets. This section of the reference provides an overview of these additions.
Trigraph Sequences
Some keyboards don't provide all the symbols used in C. Therefore, C provides alternative representations of several symbols with a set of three-character sequences, called trigraph sequences. Table RS.VII.1 lists these trigraphs.
Trigraph | Symbol | Trigraph | Symbol | Trigraph | Symbol |
---|---|---|---|---|---|
??= | # | ??( | [ | ??/ | \ |
??) | ] | ??' | ^ | ??< | { |
Get C Primer Plus, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.