ET2HKU(1)                Chinese Utility                ET2HKU(1)


NAME
     et2hku - conversion between the ETEN and HKU Big5 Hanzi code

SYNOPSIS
     et2hku [-h|-e] [-o output_file] [input_file]

DESCRIPTION
     Chinese text generated from ETEN cannot be read directly  in
     X  window  using BIG5 encoding HKU-Ch16 font, or vice versa.
     This is because the Hanzi layout in ETEN encoding scheme  is
     different from that of HKU Big5 encoding scheme.  The et2hku
     program converts Chinese text between these two codings.

OPTIONS
     -h   Convert from ETEN to HKU Big5 (default).

     -e   Convert from HKU Big5 to ETEN.

     -o output_file
          Store the output in an output file instead  of  sending
          it to standard output (stdout).

     If input_file is not specified,  input  will  be  read  from
     standard input (stdin).

FORMAT DETAILS
     The major difference between the ETEN and HKU  Big5  codings
     is  the  offset of non-frequent Big5 Hanzi codes in the ETEN
     coding scheme:
     (the legal 2nd byte is 0x40--0x7e and 0xa1--0xfe)

     portions of BIG5 codes    coding in ETEN      coding in HKU-Ch16
     ----------------------    ----------------    ----------------
     Non-Chinese symbols       0xa140 -- 0xa3bf    0xa140 -- 0xa3fe
     Frequent (5401)           0xa440 -- 0xc67e    0xa440 -- 0xc67e
     Non-frequent (7651)       0xc940 -- 0xf9d5    0xc6a1 -- 0xf755
     Non-BIG5 supplement       0xf9d6 -- ??          no

AUTHOR
     Yongguang Zhang (ygz@cs.purdue.edu)

     This program is put in public domain. Share and enjoy.
