Re: charsets vs codepages

Walter Ian Kaye wrote:
> 
>  The following table lists the code pages supported by FoxPro.
>  Code Page   Platform                   Code Page
>                                         Identifier
>  Code        Platform
>  437         U.S. MS-DOS                x01
>  850         International MS-DOS       x02
>  852         Eastern European MS-DOS    x64
>  857         Turkish MS-DOS             x6B
>  861         Icelandic MS-DOS           x67
>  865         Nordic MS-DOS              x66
>  866         Russian MS-DOS             x65

[3 code pages omitted]

Microsoft didn't make those up. IBM did. All of them are registered with IANA.
Names are IBMxxx, with several aliases. They are all defined in RFC 1345.
As an example here's the entry for 852:

Name: IBM852                                              [RFC1345,KXS2]
MIBenum: 2010
Source: IBM NLS RM Vol2 SE09-8002-01, March 1990
Alias: cp852
Alias: 852
Alias: csPCp852

> 
>  1250        Eastern European Windows   xC8
>  1251        Russian Windows            xC9
>  1252        Windows ANSI               x03
>  1253        Greek Windows              xCB
>  1254        Turkish Windows            xCA
> 
These are Microsoft's inventions, I believe. Nothing with those numbers exists
in IANA registry, but there are two entries with this description:

   Name: ISO-8859-2-Windows-Latin-2                               [HP-PCL5]
   MIBenum: 2002
   Source: Extended ISO 8859-2.  Latin-2 for Windows 3.1.
           PCL Symbol Set id: 9E
   Alias: csWindows31Latin2
   
   Name: ISO-8859-5-Windows-Latin-5                               [HP-PCL5]
   MIBenum: 2003
   Source: Extended ISO 8859-5.  Latin-5 for Windows 3.1
           PCL Symbol Set id: 5T
   Alias: csWindows31Latin5

I think that 1250 is ISO-8859-2-Windows-Latin-2 and 1251 is
ISO-8859-5-Windows-Latin-5. 1250 is not only extended ISO 8859-2, though.
It's a nightmare.

-- 
Life is a sexually transmitted disease.

dave@fly.cc.fer.hr
dave@zemris.fer.hr

Received on Tuesday, 9 July 1996 22:21:16 UTC