delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/08/14:45:05

From: Felix Natter <f DOT natter AT ndh DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: setlocale and pdcurses 2.4
Date: 08 Sep 2001 19:40:41 +0200
Organization: Customer of NDH IT Service AG, Germany
Lines: 22
Message-ID: <87g09xbmxy.fsf@mybaby.home.felix>
References: <87ofolg08y DOT fsf AT mybaby DOT home DOT felix>
NNTP-Posting-Host: port145.bonn.ndh.net
Mime-Version: 1.0
X-Trace: passat.ndh.net 999974080 15756 195.94.93.145 (8 Sep 2001 18:34:40 GMT)
X-Complaints-To: abuse AT ndh DOT net
NNTP-Posting-Date: 8 Sep 2001 18:34:40 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Felix Natter <f DOT natter AT ndh DOT net> writes:

F> hi,
> 
> I am using pdcurses 2.4 on djgpp to port a GNU/Linux ncurses program
> to DOS/Windows.
> 
> The problem is that pdcurses 2.4 does not seem to be able to display
> 8bit characters (i.e. German Umlaute). For example, ö is displayed as
> a division-sign.
> 
> Is there a way to make djgpp/pdcurses-2.4 display 8bit-characters correctly ?

Sorry, this was a character set problem:
I was able to fix it with "recode latin1..ibmpc lesson.typ".

But here's one thing I noticed: the info-documentation of djgpp
indicates that setlocale only recognizes "C" and "POSIX" locales.
Is that still true ?

-- 
Felix Natter

- Raw text -


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