Mercurial > mplayer.hg
view TOOLS/subfont-c/encodings/charmap2enc @ 14360:ed9c07a9915a
Cumulative sync with 1.840:
1.840: just typos.
1.839: alphabetical order
1.838: small fixes/improvements (by Sebastian Kraemer, except the hyphen stuff)
author | gpoirier |
---|---|
date | Tue, 04 Jan 2005 21:13:05 +0000 |
parents | 842c29861e25 |
children |
line wrap: on
line source
#!/usr/bin/awk -f # only for mostly 2-byte encodings like euc-kr $2~"^/x..$" { c = substr($2, 3, 2) if (c<"80") print substr($1, 3, 4) "\t" c } $2~"^/x../x..$" { print substr($1, 3, 4) "\t" substr($2, 3, 2) substr($2, 7, 2) }