summaryrefslogtreecommitdiffstats
path: root/staticweb/b2g.pm
diff options
context:
space:
mode:
Diffstat (limited to 'staticweb/b2g.pm')
-rw-r--r--staticweb/b2g.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/staticweb/b2g.pm b/staticweb/b2g.pm
index c7cf318d..7b3b8ddf 100644
--- a/staticweb/b2g.pm
+++ b/staticweb/b2g.pm
@@ -13982,4 +13982,9 @@ our(@ISA, @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(%b2g);
+sub big5togb
+{
+ $_[0] =~ s/([\xA1-\xF9].)/$b2g{$1}/eg;
+}
+
1;