In my project, I need to store chinese characters to datastore, but I
tried using the following code to do it:
PersistenceManager pm = PMF.get().getPersistenceManager();
Greeting e = new Greeting("许凌志","大家好",new Date
(System.currentTimeMillis()));
try {
pm.makePersistent(e);
} finally {
pm.close();
}
But when I read it out, the chinese characters turns to be "???".
Does anybody knows how to solve this problems?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.