view TOOLS/subfont-c/encodings/charmap2enc @ 19110:08888397444e

marks several strings inside structs as const when they hold just read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c to cope which the changes.
author reynaldo
date Sun, 16 Jul 2006 01:40:24 +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)
}