[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

add_response() problem (Re: [Demexp-dev] New methods on XML RPC proxy

From: Augustin
Subject: add_response() problem (Re: [Demexp-dev] New methods on XML RPC proxy
Date: Sun, 8 Oct 2006 19:02:40 +0800
User-agent: KMail/1.8.2

On Monday 18 September 2006 12:39 am, David MENTRE wrote:
> * add_response(cookie, question_id, response_desc, response_link)

I've just implemented this and it seems to work, but:
1- I do not see the question updated with the reply. I assume the responses 
are being held for moderation.

2- more importantly, I cannot post anything in French.
I don't get any error when I post in English, but when I have a reply with 
accented characters, I get the following error:
"1 - exceptions.UnicodeEncodeError:'ascii' codec can't encode character 
u'\xe9' in position 4: ordinal not in range(128)".

The web page is necessarily encoded in utf8 so whatever is submitted through a 
web form IS encoded in unicode.


Because we and the world need to change.
Intimate Relationships, peace and harmony in the couple.
Revolutionary Psychology, White Tantrism, Dream Yoga...
Condorcet, Approval alternative, better voting methods.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]