From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Re: iconv Korean and Traditional Chinese research so far
Date: Mon, 5 Aug 2013 13:31:45 -0400 [thread overview]
Message-ID: <20130805173144.GL221@brightrain.aerifal.cx> (raw)
In-Reply-To: <20130805154344.GJ221@brightrain.aerifal.cx>
On Mon, Aug 05, 2013 at 11:43:45AM -0400, Rich Felker wrote:
> > In EUC-KR (MS-CP949), there is Hanja characters (i.e. Kanji
> > characters in Japanese) and Japanese Katakana/Hiragana besides of
> > Hangul characters.
>
> Yes, I'm aware of these. However, it looks to me like the only
> characters outside the standard 94x94 grid zone are Hangul syllables,
> and they appear in codepoint order. If so, even if there's not a good
> pattern to where they're located, merely knowing that the ones that
> are missing from the 94x94 grid are placed in order in the expanded
> space is sufficient to perform algorithmic (albeit inefficient)
> conversion. Does this sound correct?
I've verified that this is correct and committed an implementation of
Korean based on this principle, which I basically copied from my
current implementation of GB18030's support for arbitrary Unicode
codepoints. It has not been heavily tested but I did test it casually
with all the important boundary values and it seems correct. Tests
should probably be added to the test suite.
Rich
next prev parent reply other threads:[~2013-08-05 17:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-04 16:51 Rich Felker
2013-08-04 22:39 ` Harald Becker
2013-08-05 0:44 ` Szabolcs Nagy
2013-08-05 1:24 ` Harald Becker
2013-08-05 3:13 ` Szabolcs Nagy
2013-08-05 7:03 ` Harald Becker
2013-08-05 12:54 ` Rich Felker
2013-08-05 0:49 ` Rich Felker
2013-08-05 1:53 ` Harald Becker
2013-08-05 3:39 ` Rich Felker
2013-08-05 7:53 ` Harald Becker
2013-08-05 8:24 ` Justin Cormack
2013-08-05 14:43 ` Rich Felker
2013-08-05 14:35 ` Rich Felker
2013-08-05 0:46 ` Harald Becker
2013-08-05 5:00 ` Rich Felker
2013-08-05 8:28 ` Roy
2013-08-05 15:43 ` Rich Felker
2013-08-05 17:31 ` Rich Felker [this message]
2013-08-05 19:12 ` Rich Felker
2013-08-06 6:14 ` Roy
2013-08-06 13:32 ` Rich Felker
2013-08-06 15:11 ` Roy
2013-08-06 16:22 ` Rich Felker
2013-08-07 0:54 ` Roy
2013-08-07 7:20 ` Roy
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=20130805173144.GL221@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).