On Mon, 2003-10-20 at 08:04, Rob Shortt wrote:

> Mike, can you give us a quick rundown of where the problem crops up (all 
> unicode strings in communication - certain characters, etc) and any 
> leads, ideas to fix, etc?
> 

find your local spanish channel (for those in the US) click on a show
with a non ascii character(i.e. not in range(128)). Then clikc to add to
favorite. You will get to the setup of a new favorite page. then edit to
your heart's content. make sure to leave nonascii char in title or name.
Then click add to finally add the favorite. It will then be silently
dropped and you will be redirected to the favorties page.

see
http://world.std.com/~mruelle/pub/freevo/unicode_recordserver_test.txt
for the sample exchange which results in an error.

Contrast this with just recording the show which works as expected.

This comes about when you send the nonascii code through the
recordserver without having first jellied it. The Jelly process is
obscuring it and allowing it to pass through. I have found many posts on
the internet claiming that xmlrpc for python does not handle nonascii
characters and that there is no way to change the encoding you send for
the xmlrpc so that you can explicitly set the encoding to utf-8.

I have tried the simple jellying root but ran into problems with encode,
complaining when i unjellied the string and tried to change it into a
regular text string, it complained about the character not being in
range and i had ignore set so unsure why that is.

I am going to try to use the xml.sax.utils.escape function next but have
some other things i have to take care of first.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to