Lawrence D'Oliveiro a écrit :
> In message <[EMAIL PROTECTED]>, tool69 wrote:
> 
>> p2.content = """Ce poste possède des accents : é à ê è"""
> 
> My guess is this is being encoded as a Latin-1 string, but when you try to
> output it it goes through the ASCII encoder, which doesn't understand the
> accents. Try this:
> 
> p2.content = u"""Ce poste possède des accents : é à ê è""".encode("utf8")
> 

Thanks for your answer Lawrence, but I always got the error.
Any other idea ?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to