summaryrefslogtreecommitdiffstats
path: root/staticweb/b2g.pm
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-20 20:44:44 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-20 20:44:44 +0800
commit7571b2c04bf5df4c4937dea135ecc0e076af990f (patch)
tree4e3e2061ea92e60fcb5b972157eda1d76f8cc224 /staticweb/b2g.pm
parentf15c260b2d6669d042830890f3e076384653e4ae (diff)
downloadpttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.tar
pttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.tar.gz
pttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.tar.bz2
pttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.tar.lz
pttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.tar.xz
pttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.tar.zst
pttbbs-7571b2c04bf5df4c4937dea135ecc0e076af990f.zip
add board title to html titlepttbbs-beforefav4@1354
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1354 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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;