Hi,
App engine cannot receive html email ( sent from gmail ) correctly. (
@appid.appspotmail.com)
The following code will show the error:
byte[] bytes = content.getBytes(encoding); // gmail used "ISO-8859-1"
mostly, "UTF-8" sometime also
printBytes(bytes);
-> output:
64 (offset from beginning): 30 2e 38 65 78 3b 20* 00 *61 64 64 69 6e 67 2d
6c - 0.8ex;
144: *00 *63 6f 6d 3c 2f 61 3e 26 67 74 3b 3c 2f 73 70 -
208: 20 30 70 78 20 30 2e 38 65* 00 *3b 20 70 61 64 64 - 0px 0.8e
00 doesn't make sense here and it was another correct character which was
overwritten to 0.
It repros in every html emails sent from gmail. The corruption happens
every 72 characters or so.
Looks like a bug we will file.
-T
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/Ggg6jLrm1cgJ.
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.