Closed GoogleCodeExporter closed 9 years ago
I located the problem,
One of the torrents has a strange symbol in it. A Cross. Removed the torrent
and it
fixed the problem. Maybe this needs better handling of odd characters?
Original comment by star...@gmail.com
on 28 Jan 2008 at 10:22
† < this was the character.
Original comment by star...@gmail.com
on 28 Jan 2008 at 10:23
This is probably also relevant to issue #26
The problem seems to be that xmlrpc_decode does not handle UTF-8 encoded
characters
correctly, even if used like this: xmlrpc_decode($file, "UTF-8");
A dodgy fix is to string utf8 characters: xmlrpc_decode(utf8_decode($file));
Seeing as the xmlrpc functions are marked as experimental in PHP, and have been
for a
long time, perhaps it's a good idea to move to a better xmlrpc implementation -
such
as http://phpxmlrpc.sourceforge.net/
Original comment by waikur...@gmail.com
on 26 Sep 2008 at 2:06
I meant to say "strip" not "string" in the previous comment.
Original comment by waikur...@gmail.com
on 26 Sep 2008 at 2:06
In the interest of helping people fix this problem, here is how you apply the
fix:
around line 25 in functions.php replace this line:
return xmlrpc_decode($file);
with:
return xmlrpc_decode(utf8_decode($file));
Any special characters will get replaced with ?, it sucks but at least rtgui
will
work correctly.
Original comment by waikur...@gmail.com
on 26 Sep 2008 at 2:11
Pages now utf-8
Original comment by lemonbe...@gmail.com
on 5 Dec 2008 at 10:32
Original issue reported on code.google.com by
star...@gmail.com
on 28 Jan 2008 at 10:15