Mail Archives: djgpp/2004/04/09/11:16:07
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 -