you are right,but if i do like you have told, i should change every attribute of the modle,some modle has a lot of attributes,and it causes a lot of codes just change the unicodeString to utf8String.
On 4月6日, 午後4:48, Alkis Evlogimenos ('Αλκης Ευλογημένος) <evlogime...@gmail.com> wrote: > 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 -~----------~----~----~----~------~----~------~--~---