If you think you have to convert every string in utf-8, you are probably
doing something wrong. Maybe if you share a bit more about what you are
doing, maybe with some examples, you might get a better answer.

On Wed, Apr 8, 2009 at 9:37 AM, DiveIntoGAE <[email protected]> wrote:

>
> 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 ('Αλκης Ευλογημένος)
> <[email protected]> wrote:
> > utf8String = unicodeString.encode('utf-8')
> >
> > On Mon, Apr 6, 2009 at 8:21 AM, DiveIntoGAE <[email protected]> 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
> >
>


-- 

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 [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