Date: Sun, 27 Feb 2000 09:54:29 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Guido Sassmannshausen cc: djgpp AT delorie DOT com Subject: Re: Ulmauts in std streams In-Reply-To: <893jpq$gbi$1@newsserver.rrzn.uni-hannover.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 24 Feb 2000, Guido Sassmannshausen wrote: > My code parses a text file which contains umlauts. > > if I use a > > string s; > instream>>s; > cout << s; > > I get other characters (I think the lower 7bits of ascii standrad) instead > of theword containing umlauts. Does it work if you do this from a C program (with scanf)? It is important to establish whether this is a problem in the C++ library (which is maintained by the GNU project) or the C library (which is maintained by DJGPP), so that we know where to report the bug and where to look for it.