Hi, You may need to try msg.setSubject(text, "utf-8").
This will solve your problem. BR. Zhang Yu On Nov 10, 10:21 am, vincent chan <forjobspi...@gmail.com> wrote: > I using gae to send email.And the subject and content are chinese!But > I got correct content in chinese and the subject in unknown > encoding.Does anyone know how to solve this. > Another question,the sender is encoded too,How to get the real sender? -- 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=.