From: don <> Date: Fri, 29 Jul 2005 14:05:37 +0000 (-0800) Subject: [project @ 2005-07-29 07:05:37 by don] X-Git-Tag: release/2.6.0~674 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c322ee9a4b2f0bbbf620502db536749f37864139;p=debbugs.git [project @ 2005-07-29 07:05:37 by don] * Add temporary hack to work around #320406 (which ramified itself in #204514) [Failures with BIG5 charsets... we now punt] --- diff --git a/Debbugs/MIME.pm b/Debbugs/MIME.pm index 4519776..1aae3cd 100644 --- a/Debbugs/MIME.pm +++ b/Debbugs/MIME.pm @@ -108,6 +108,8 @@ sub parse ($) sub convert_to_utf8 { my ($data, $charset) = @_; $charset =~ s/^(UTF)\-(\d+)/$1$2/i; + # XXX HACK UNTIL #320406 IS FIXED + return $data if $charset =~ /BIG5/i; return $data unless utf8_supported_charset($charset); return to_utf8({ -string => $data,