UTF-8 characters are displayed all broken. The apache log file complains like the below.
compare: Parsing of undecoded UTF-8 will give garbage when decoding entities at /var/www/uvr/htdocs/twiki/lib/TWiki/Contrib/CompareRevisionAddOn/Compare.pm line 316.
I had to modify the line like below to use
decode_utf8()
function and it gets rid of garbled international characters as well as parse warnings in the log.
$tree->parse(decode_utf8($text));
use Encode;
is also required for this function.
A diff is attached below.
--
TWiki:Main/KyungdahmYun
- 18 Nov 2008