pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Pages


From: Ben Pfaff
Subject: Re: Code Pages
Date: Mon, 04 Dec 2006 09:53:41 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Ben Pfaff <address@hidden> writes:

> John Darrington <address@hidden> writes:
>
>>    It seems that SPSS 15 is now indicating the "code page" of the
>>    system file in a slot where it previously just had essentially a
>>    constant value.
>>
>> This could go some way to solving some of the internationalisation
>> issues.   However, I've been trying to find some way of converting
>> between "code page" numbers and character set names as understood by
>> iconv.   I've found a few web sites which suggest such mappings, but
>> non of them seem to be complete or authoritative.
>
> Microsoft has presumably authoritative code page listings at:
>         http://www.microsoft.com/globaldev/reference/WinCP.mspx
> Each of these listings gives the Unicode code points that
> correspond to each character value.  So, if you want to figure
> out the correspondence badly enough, you could extract the info
> provided by those pages and see whether any of the iconv names
> convert to the same Unicode code points.  I did something like
> this to find out whether the SPSS EBCDIC encoding was the same as
> any iconv character set (it wasn't).

Actually, it seems that GNU recode has support for Windows code
pages under the names CP1250, CP1251, CP1252, etc., so there'd be
no need to duplicate work.
-- 
Ben Pfaff 
email: address@hidden
web: http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]