From: Eli Zaretskii <eliz@gnu.org>
Cc: handa@m17n.org
Subject: Re: Adding cp858?
Date: Wed, 06 Sep 2006 21:17:34 +0300 [thread overview]
Message-ID: <ubqpsx3k1.fsf@gnu.org> (raw)
In-Reply-To: <v9u03lgyja.fsf@marauder.physik.uni-ulm.de> (message from Reiner Steib on Wed, 06 Sep 2006 11:00:25 +0200)
> From: Reiner Steib <reinersteib+gmane@imap.cc>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> Date: Wed, 06 Sep 2006 11:00:25 +0200
>
> > 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.
I don't know if there's a DOS version that supports cp858 (maybe the
just-released FreeDOS will?), but I see no harm in adding this
support.
> 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:
codepage.el can support _any_ ISO-8859 character set. The target
character set is given by the `charset' property of the symbol that
holds the decoding table. Here's an example (watch the call to
setplist):
(defvar cp855-decode-table
[
255 133 129 131 135 137 139 141 143 145 147 149 151 240 153 155
161 163 236 173 167 169 234 244 184 190 199 209 211 213 215 221
226 228 230 232 171 182 165 252 246 250 159 242 238 248 157 224
160 162 235 172 166 168 233 243 183 189 198 208 210 212 214 216
225 227 229 231 170 181 164 251 245 249 158 241 237 247 156 222
239 132 128 130 134 136 138 140 142 144 146 148 150 253 152 154]
"Table for converting ISO-8859-5 characters into codepage 855 glyphs.")
(setplist 'cp855-decode-table
'(charset cyrillic-iso8859-5 language "Cyrillic-ISO" offset 160))
next prev parent reply other threads:[~2006-09-06 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-05 15:08 Adding cp858? Reiner Steib
2006-09-06 1:01 ` Kenichi Handa
2006-09-06 9:00 ` Reiner Steib
2006-09-06 18:17 ` Eli Zaretskii [this message]
2006-09-07 12:54 ` Reiner Steib
2006-09-09 12:19 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ubqpsx3k1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=handa@m17n.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.