mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: CP850 & IBM850 codepages
Date: Tue, 25 Feb 2014 17:39:39 -0500	[thread overview]
Message-ID: <20140225223939.GI184@brightrain.aerifal.cx> (raw)
In-Reply-To: <530D19D2.4020800@fairlite.co.uk>

On Tue, Feb 25, 2014 at 10:31:46PM +0000, Alan Hourihane wrote:
> >Adding cp850 and other DOS codepages should not be hard and should not
> >take up much additional size in iconv, but it's also nontrivial to do
> >without my tools to generate the tables, which are not published.
> >Publishing them is something I should really get around to doing,
> >since their absence affects the ability of others to modify the code
> >in meaningful ways; I need to apologize for not doing so already.
> >
> 
> O.k. that makes sense as I couldn't understand the format. :-)

The format is basically this: legacy_chars is a table of all
codepoints that ever appear in a supported legacy codepage, with a
limit of 1024 total codepoints. The individual codepage tables are 10
bits per entry and map into this table, and they omit the initial
subrange that's identical to latin1 (and thus a one-to-one mapping to
unicode). I have tools that automatically generate these from the
unicode txt files containing the mappings.

Rich


  reply	other threads:[~2014-02-25 22:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 21:44 Alan Hourihane
2014-02-25 22:25 ` Rich Felker
2014-02-25 22:31   ` Alan Hourihane
2014-02-25 22:39     ` Rich Felker [this message]
2014-02-26 11:58       ` Alan Hourihane

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=20140225223939.GI184@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /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 public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).