Talk:Digraphs and trigraphs (programming)
I very much doubt that this phrase "replaces all occurrences" is correct (my emphasis). For example, it should not replace occurences of that sequence within strings.
- It is correct.
- Sadly. This is a prime example of design by committee
escape
Is the \? escape really standard, or just typical? Might there be a compiler that maps it to the 0xfe character or similar? AlbertCahalan 04:06, 23 April 2006 (UTC)
Standard. Akihabara 04:21, 29 November 2006 (UTC)
IOCCC
Should something be added about the more notorious uses of trigraphs (i.e. obfuscation)? Amcfreely 04:07, 23 April 2006 (UTC)
Applicability
When were trigraphs introduced? Do they only apply to ISO C, for instance? Have any other languages adopted them? --82.46.154.93 03:38, 27 November 2006 (UTC)
Redundant digraph
The bit at the bottom on digraphs lists "%:" as a digraph for "#", and "%:%:" as a digraph for "##". Surely the second one is simply two adjacent digraphs?--NeilMitchell 19:55, 16 September 2007 (UTC)
Can they or can't they be used?
This sentence is unclear:
The C grammar does not permit two subsequent ? tokens, so the only places in a C file where two question marks in a row may be used are in multi-character constants, string literals, and comments.
The whole article seems to say that trigraphs are, in fact, interpreted within constants, literals, and comments - which would imply that you cannot use two question marks in a row there (unless you want them to be interpreted as introducing a trigraph). But this sentence says you can use them there.
I'm not sure what the author meant to say, but I suspect that this wasn't it. JayLevitt 13:41, 7 November 2007 (UTC)