hicklemr / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 1 forks source link

unable to display unicode characters #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. upload a torrent file with multi-byte characters in its description
2. rtgui unable to display and return with an error
3.

What is the expected output? What do you see instead?
display unicode char properly

What version of the product are you using? On what operating system?
0.2.6 / ubuntu

Please provide any additional information below.
to temporarily fix the problem, open functions.php

locate function do_xmlrpc($request),
insert the below line right before it calls return xmlrpc_decode($file)

>> $file = utf8_encode($file);

Original issue reported on code.google.com by larry1c...@gmail.com on 6 Dec 2008 at 5:11

GoogleCodeExporter commented 8 years ago
Thanks for the code. This will be in next release of rtGui.

-Simon

Original comment by lemonbe...@gmail.com on 6 Dec 2008 at 7:57

GoogleCodeExporter commented 8 years ago
I got this error when there was unicode characters in torrents.

Warning: Invalid argument supplied for foreach() in
/var/www/localhost/htdocs/rtgui/functions.php on line 40.

And this path solved that problem to.

Original comment by hans.sve...@gmail.com on 8 Jan 2009 at 5:58

GoogleCodeExporter commented 8 years ago
Fixed in version 0.2.7

Original comment by lemonbe...@gmail.com on 16 Mar 2009 at 10:19