emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding cp858?


From: Reiner Steib
Subject: Re: Adding cp858?
Date: Wed, 06 Sep 2006 11:00:25 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Wed, Sep 06 2006, Kenichi Handa wrote:

> Reiner Steib <address@hidden> writes:
[...]
>> According to the LaTeX *.def files, the only difference between cp850
>> and cp858 is the `€' (EURO SIGN, U+20AC) replacing `ı' (LATIN SMALL
>> LETTER DOTLESS I, U+0131). [2]
>
>> May I add the following change?  (The "(cp-make-coding-system cp858
>> ...)" part is a copy of the corresponding cp850 entry with dotless i
>> replaced by the EUR sign.
>
>> I don't know if a similar change to codepage.el should be done as
>> well.
[...]
> As the changes are straight forward, I agree with installing
> those changes.  

Okay, I will install it if nobody objects.

> For codepage.el, if cp858 can also be used on DOS, I think the
> similar change should be installed.

I don't know if it's used on DOS; the author of the LaTeX file
mentioned OS/2.

If I understand it correctly, `cp850-decode-table' in `codepage.el' is
derived from Latin-1 (iso-8859-1).  As Latin-1 doesn't include the EUR
sign, cp858 can't be derived from Latin-1.  But `codepage.el' doesn't
seem to support Latin-9 (iso-8859-15) which includes the EUR (and some
other changes to Latin-1).  I didn't find anything related to Latin-9
there.  I'm not sure if `codepage.el' provides any codepages that
include the EUR sign:

;; Support for the Windows 12xx series of codepages that MS has
;; butchered from the ISO-8859 specs. This does not add support for
;; the extended characters that MS has added in the 128 - 159 coding
;; range, only translates those characters that can be expressed in
;; the corresponding iso-8859 charset.

If it's not possible to provide full support of cp858 (including the
EUR) within `codepage.el', we should probably treat it as cp850 (in
the same way as windows-1252 is treated as Latin-1, if I understand
correctly).

Eli?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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