make sure you compile the java source using encoding="UTF8" On Jan 18, 4:38 pm, 凌志 许 <lingzhixu...@gmail.com> wrote: > 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.