From: <Cra...@nt...> - 2004-10-28 09:56:37
|
Author: CrawfordCurrie Date: 2004-10-28 16:20:30 -0700 (Thu, 28 Oct 2004) New Revision: 1787 Modified: twiki/branches/DEVELOP/lib/TWiki.pm Log: SomeChineseCharactersBreakWikiLinks: excluded GB2312, GBK, GB18030 (Chinese), and Johab and UHC (Korean) since they are not ASCII safe. Modified: twiki/branches/DEVELOP/lib/TWiki.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki.pm 2004-10-28 21:49:55 UTC (rev 1786) +++ twiki/branches/DEVELOP/lib/TWiki.pm 2004-10-28 23:20:30 UTC (rev 1787) @@ -642,7 +642,7 @@ # matched within a multi-byte character cannot be used for TWiki. sub _invalidSiteCharset { # FIXME: match other problematic multi-byte character sets - return ( $siteCharset =~ /^(?:iso-2022-?|hz-?|.*big5|.*shift_?jis|ms.kanji)/i ); + return ( $siteCharset =~ /^(?:iso-?2022-?|hz-?|gb2312|gbk|gb18030|.*big5|.*shift_?jis|ms.kanji|johab|uhc)/i ); } =pod |