users@glassfish.java.net

Re: JavaMail converts UTF-8 chars to question marks

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Jun 2008 14:54:49 PDT

(In the future you'll probably have better luck with JavaMail questions in the JavaMail forum:
http://forum.java.sun.com/forum.jspa?forumID=43)

How do you save the message to disk and how do you read it back?

Is the message correct on disk? The characters should be in UTF-8 format on disk,
and probably encoded by JavaMail using quoted-printable or base64 encoding.

What locale are you running in on your machine? Did your locale setting change recently,
and is it different on the other machines where this works correctly?
[Message sent by forum member 'shannon' (shannon)]

http://forums.java.net/jive/thread.jspa?messageID=278643