From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: foreign char ( almost corect ) Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 27 X-Trace: /K49oEImf/XQttTj0g95HJV9Ncf6OskZRaDESKYUg6D3FhmUI8e21qHGD1Gm5OpGQ363YObQZ7Xh!d0lwCsdM1qhV0PcrSH2Q34DTm7yKJDChzPljb37UbhUbE7h/qf4XAuXiO+sOsK/YeXkHaIh5ksmj!nOh2f6g= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sun, 26 Mar 2000 00:08:12 GMT Distribution: world Date: Sun, 26 Mar 2000 00:08:12 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 25 Mar 2000 15:24:56 GMT, "Robert L." wrote: >Now >cout<<"\x90"; >work well. >But >cout<<"\x90crivez"; // écrivez == write >doesn't work, it say the same error ( escape secquence out of range ) >if i do >cout<<"\x90"<<"crivez"; >it work as it should, but i don't want to use this line. >I even do cout<<"\x090crivez", but the same error appear. How about simply putting double quotes (which are ignored inside a double quoted string) after the accented character? cout << "\x90""crivez"; Or just inserting the accented character directly into the file with edit.com? -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/