view admin/charsets/kuten.awk @ 89877:151284908aa2

(make-translation-table): Set second extra slot of the char table to 1. (make-translation-table-from-vector): Likewise. (make-translation-table-from-alist): Fix handling of multiple entries.
author Kenichi Handa <handa@m17n.org>
date Wed, 07 Apr 2004 07:22:10 +0000
parents 375f2633d815
children e0e4e6a0599f
line wrap: on
line source

/^[0-9]/ {
  ku=substr($1, 3, 2) + 32;
  ten=substr($1, 5, 2) + 32;
  printf "0x%02X%02X %s\n", ku, ten, $2;
}