svnno****@sourc*****
svnno****@sourc*****
2008年 7月 7日 (月) 20:16:49 JST
Revision: 689 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=689 Author: tach Date: 2008-07-07 20:16:49 +0900 (Mon, 07 Jul 2008) Log Message: ----------- Add workaround for unicode WAVE DASH problem Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm slashjp/branches/2.5.0.192/debian/changelog -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm 2008-07-07 10:40:03 UTC (rev 688) +++ slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm 2008-07-07 11:16:49 UTC (rev 689) @@ -122,6 +122,12 @@ return 0; } + # workaround for unicode WAVE DASH problem... + if ($constants->{tweak_japanese}) { + $content =~ tr/\x{ff5e}/\x{301c}/; + $subject =~ tr/\x{ff5e}/\x{301c}/; + } + # Character Code Conversion; target encoding must be valid name # Characters not representable in the destination character set # and encoding will be replaced with \x{HHHH} place-holders Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-07-07 10:40:03 UTC (rev 688) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-07-07 11:16:49 UTC (rev 689) @@ -1,9 +1,10 @@ slash (2.5.0.192-16) unstable; urgency=low * Fix for reason_modifier setting for users.pl - * Use reason_id as key instead of name + - Use reason_id as key instead of name + * Add workaround for unicode WAVE DASH problem - -- Taku YASUI <tach****@osdn*****> Mon, 7 Jul 2008 10:38:26 +0000 + -- Taku YASUI <tach****@osdn*****> Mon, 7 Jul 2008 11:16:23 +0000 slash (2.5.0.192-15) unstable; urgency=low