4 ms·
I think C89 introduced 'trigraphs' for exactly that reason: so people using non-ASCII ISO646 systems could have symbols that at least vaguely resembled the ones
by thristian 12y ago
I think C89 introduced 'trigraphs' for exactly that reason: so people using non-ASCII ISO646 systems could have symbols that at least vaguely resembled the ones Ritchie and Kernighan intended:
http://en.wikipedia.org/wiki/Digraphs_and_trigraphs#C http://en.wikipedia.org/wiki/Digraphs_and_trigraphs#C
- dietrichepp 12y agoIn Japan, they'll write C code with printf("Hello, world!¥n"); (This may be less common today.)
- TazeTSchnitzel 12y agoIt's not actually. For compatibility, Japanese fonts display \ as ¥.