delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/09/11:16:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Doug Kaufman <dkaufman AT rahul DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with codepages/character sets
Date: Fri, 9 Apr 2004 15:14:52 +0000 (UTC)
Organization: a2i network
Lines: 36
Message-ID: <c56elc$rl1$1@blue.rahul.net>
References: <20040408124015 DOT A19109 AT webster DOT tsc DOT com> <88bc70h4isbs1kfmb6rf09mipe01b4juv3 AT 4ax DOT com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1081523692 28321 66.237.72.28 (9 Apr 2004 15:14:52 GMT)
X-Complaints-To: support AT rahul DOT net
NNTP-Posting-Date: Fri, 9 Apr 2004 15:14:52 +0000 (UTC)
User-Agent: nn/6.6.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Brian Inglis <Brian DOT Inglis AT SystematicSw DOT Invalid> writes:

>On Thu, 8 Apr 2004 12:40:15 -0500 in comp.os.msdos.djgpp, Bob
>Poortinga <djgpp DOT 20 DOT bobp AT spamgourmet DOT com> wrote:

>>Is there any method available to use Codepage 1252 (Windows-1252) or
>>the ISO-8859-1 charset in a program compiled and linked with DJGPP?

>Load MS DOS codepage 850 for Latin-1/ISO-8859-1 support in CONFIG.SYS,

Actually, this won't do it. CP850 is not the same as ISO-8859-1. The
characters are all there, but not in the same spots as ISO-8859-1. You
need to use CP819. This is available at no charge in a package from
Kosta Kostis which provides you with alternate .CPI files for many
ISO-8859 variants. You can get the files from:
"http://ftp.uni-erlangen.de/pub/doc/ISO/charsets/isocp101.zip
"http://www.kostis.net/freeware/isocp101.zip"

I have used this for some time, without any problems (although I
modified the batch file for US use). As an alternative there is the
loadfont program by Yossi Gil, with the CP881 font described as being
ISO-8859-1. This loads the font into the video memory. You can get
this at:
"ftp://ftp.columbia.edu/pub/pcfonts/fntcol16.zip"
I believe it is also available at Simtel mirrors.

As an alternative to the loadfont program, you might prefer dfload from
the dfe104 package. This is available from Simtel mirrors, and is now
free (personal communication from the author, Michael Burton).

I don't know of a way to use CP1252 under DJGPP, but perhaps the font is
out there, somewhere.
                                    Doug
-- 
Doug Kaufman
Internet: dkaufman AT rahul DOT net

- Raw text -


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