Yes, you can do it if the page content is encoded by utf8.
response.content.decode( 'utf-8' )

====================================
Welcom to  go2.appspot.com, a fast proxy server.



2008/11/11 mawei1981 <[EMAIL PROTECTED]>

>
> Hi, All
>
> I use urlfetch to get some content from other hosts, as we know, the
> content has multi-encode,
>
> How can I use unicode(response.content,'utf-8') to encode or decode
> the content ??
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to