From bd9ca785e060f9172e03f2767b8dbc639a580b52 Mon Sep 17 00:00:00 2001 From: IIMarckus Date: Wed, 21 Dec 2011 00:15:56 -0700 Subject: Add é and fix a typo when converting text. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hg-commit-id: 2aaa737ef65a --- textpre.awk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textpre.awk') diff --git a/textpre.awk b/textpre.awk index 5518591e..5e3d065d 100644 --- a/textpre.awk +++ b/textpre.awk @@ -62,6 +62,7 @@ char["w"] = "$B6" char["x"] = "$B7" char["y"] = "$B8" char["z"] = "$B9" +char["é"] = "$BA" char["'"] = "$E0" char["-"] = "$E3" char["?"] = "$E6" @@ -107,7 +108,7 @@ else { c = c substr(f,1,2) f = substr(f,3,length(f) - 2) } else if (c > "€") { # U+0080 - c = c sustr(f,1,1) + c = c substr(f,1,1) f = substr(f,2,length(f) - 1) } print char[c] -- cgit v1.3.1-sl0p