Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!minow From: minow@decvax.UUCP Newsgroups: comp.lang.c Subject: Trigraphs and national letters? Message-ID: <29@decvax.UUCP> Date: Fri, 27-Feb-87 18:01:10 EST Article-I.D.: decvax.29 Posted: Fri Feb 27 18:01:10 1987 Date-Received: Sun, 1-Mar-87 09:21:06 EST Reply-To: minow@decvax.UUCP (Martin Minow) Organization: Digital Eq. Corp. - Merrimack NH. Lines: 18 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