On Thu, Sep 18, 2003 at 05:24:04PM +0900, Nathan Ollerenshaw wrote: > On Thursday, September 18, 2003, at 04:44 PM, Brian Candler wrote: > > >> =?utf-8?Q?=E6=97=A5=E6=9C=AC=E8=AA=9E=E3=81=AE=E3=83?= > > BTW, I thought the 'Q' in the string meant Quoted printable ... which > it plainly isn't, right? It should be a B, no? It should also be > iso-2022-jp, but one step at a time :)
No. Read RFC 2047: ?Q does indeed mean Quoted-Printable: in which case =E6 is the single byte 0xe6, which looks like it's correctly encoded in your example. ?B would be Base64 encoding, in which case the following bytes would be, well, Base64-encoded. (i.e. characters from the set a-zA-Z0-9+/=, with four characters encoding 3 bytes) Since we're talking encoding issues, I'd suggest it's better not to put your message through a mail client when posting examples: just take the file from the Maildir, cat it, and copy/paste the relevant lines into the body of a new message. Regards, Brian.
