utf8String = unicodeString.encode('utf-8') On Mon, Apr 6, 2009 at 8:21 AM, DiveIntoGAE <taogf1...@gmail.com> wrote:
> > i want to read strings from google app engine database and make them > to utf-8,how can i do that?The strings in my html page are utf-8, if i > compare the string from databse with them,i should make the string > from databse to utf-8. > > > -- Alkis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---