2010/3/7 spir <[email protected]>

>
> > Oh, right. And, if i'm not wrong B is an UTF8 string decoded to unicode
> (due
> > to the coding: statement at the top of the file) and re-encoded to latin1
>
> Si! :-)
>

Ahah. Ok, Grazie!

One more question: Amazon SimpleDB only accepts UTF8.

So, let's say i have to put into an image file:

filestream = file.read()
filetoput = filestream.encode('utf-8')

Do you think this is ok?

Oh, of course everything url-encoded then

Giorgio


>
> Denis
> --
> ________________________________
>
> la vita e estrany
>
> spir.wikidot.com
>
>


-- 
--
AnotherNetFellow
Email: [email protected]
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to