www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/27/03:56:36

Date: Sun, 27 Feb 2000 09:54:29 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Guido Sassmannshausen <sassi AT sedan DOT uni-osnabrueck DOT de>
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: <Pine.SUN.3.91.1000227095408.14604H-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019