Hacker News new | ask | show | jobs
by justinator 3403 days ago
quoted-printable is used to encode email messages quite a (7)bit :) Take a look of the source of most any HTML-formatted email.

In my experience, it's the only way to keep content of an unknown character set and highly diverse content from getting corrupted when going through processing stages (for email). A lot of the tools to manipulate an email message can (also) be destructive.

Email is weird.

I can see why they'd use it for this service, if the original email was also a part of the notification they're sending.

1 comments

alternative is to use base64. some things you learn when you have to deal with emails.

also first time i was sending sms messages and not using ascii trying to determinate the message length was fun. and by fun i mean gsm 7bit annoying.

I wouldn't suggest base64 encoding for messages that are mostly text (plaintext, html messages), but it's just dandy for attachments.

Debugging something in an email message encoding in quoted-printable simply by viewing its source is doable sometimes. If it's in base64, not so much. I believe the size of your message would also be less using quoted-printable, rather than base64