[google-appengine] Re: how to make the date that read from google app engine database to utf-8?

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

[google-appengine] Re: how to make the date that read from google app engine database to utf-8?

2009-04-08 Thread DiveIntoGAE
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 ('Αλκης Ευλογημένος) wrote: > utf8String = unicodeString.enco

[google-appengine] Re: how to make the date that read from google app engine database to utf-8?

2009-04-08 Thread 'Αλκης Ευλογημένος
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 wrote: > > you are right,but if i do like y