If we don't use decode("utf-8"), we can insert data into app engine
database easily, but the problem will occur when reading these data
from your database, some strings may show "None" in web pages.

if we use  decode("utf-8"), some character can't insert into the
database,the error may similar to " 'ascii' codec can't decode byte
0xe4 in position 0: ordinal not in range(128)".

so if we avoid the problem when inseting data,the problem will occur
when we read them;but if we want to get rid of the problem when
reading the data,some data can't insert into the database.can anybody
solve this dilemma?

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

Reply via email to