Mailing List Archive

Support open source code!


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

RE: from Row-Cell Notation to EUC or ISO-2022 Encoding



Hi, I recently joined this list.

At Thu, 14 Dec 2000 13:01:44 +0900,
Ulrike Schmidt <ulrike@example.com> wrote:

> I am trying to find the euc-codes for radicals.

> There are examples for jis and euc encoding, according to which hiragana
> ka is encoded \xa4\xab in euc, \x24\x2b in jis without the escape codes,
> and it has a row cell code of 04-11 in JIS X 0208:1997. There seems to
> be some pattern to my laymans eye, but I cannot figure it out
> completely. Could somebody enlighten me? 

Add 32(\x20) to each byte of Row-Cell(or Ku-Ten) code to get JIS.
ex) 04-11(Row-Cell) goes in JIS \x24\2b(36=4+32,43=11+32)

Then convert it EUC-JP by adding \x80(128) to them.
# This means making MSBs(8th bits) of each byte on.

-- 
OZAWA -Crouton- Sakuro
E-Mail: mailto:crouton@example.com
   Web: http://www.weatherlight.org/~crouton/
   PGP: C98F 74E0 AEEB 4578 1DFC  F650 3BE0 9627 11FC C9F5
VERBA VOLANT, SCRIPTA MANENT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links