[comp.lang.c] Trigraphs and national letters?

minow@decvax.UUCP (02/28/87)

I'm still a bit confused about trigraphs and national (European) letters.
If I am programming in ANSI C in an environment using the Swedish national
replacement character set, the Capital-O-with-dieresis character occupies
the same code position as USASCII backslash..

How should I write a string containing this character?  (The examples
represent it by 'O'):

  "O"		/* "something" understands that this isn't backslash	*/
  "??/O"	/* Trigraph-backslash quotes next character		*/
  "??/??/"	/* Quoted backslash which *I* know is quoted O		*/

For that matter, how does the compiler process a program written in
America that doesn't use trigraphs, but does use \ (the same code position
as O)?

Martin Minow
decvax!minow