delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/28/01:26:32

Date: Wed, 28 Aug 2002 08:22:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alex Vinokur <alexvn AT bigfoot DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: char[] & non-Latin letters
In-Reply-To: <akgp47$1imc2c$1@ID-79865.news.dfncis.de>
Message-ID: <Pine.SUN.3.91.1020828081840.14990E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 27 Aug 2002, Alex Vinokur wrote:

> ttt.cpp: In function `int main()':
> ttt.cpp:13: `wcout' undeclared (first use this function)
> ttt.cpp:13: (Each undeclared identifier is reported only once for each function
>    it appears in.)
> 
> 
> ========= Compilation : END ===========
> 
> 
> So, we can see that `wcout' undeclared because _GLIBCPP_USE_WCHAR_T undefined.
> 
> What is way out ?

None, unfortunately: the C library which is used by the DJGPP port does 
not support non-ASCII characters the way wcout needs it.  The best you 
can hope for is to use the single non-ASCII character set defined by the 
upper half of the 256-character codepage which is loaded into your DOS 
session.

Adding support for multibyte and wide characters is a lot of work, and no 
one has yet stepped forward to do that in full.

- Raw text -


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