Internationalization & Email

Pelago is gearing up to launch International support in our Intervals application. The biggest hurdle, by far, has been encoding emails in a format that supports international character sets.

Intervals encodes all of its data in the UTF-8 format because of its language support. However, its an 8bit format that isn’t fully supported by mail software. We found that encoding our emails using the UTF-8 character set and 8bit encoding was working for some of our clients but not others. The culprit is the MTA servers that an email gets routed through. If any of those servers don’t support 8bit mime, the email gets garbled.

We found the solution was to retain the UTF-8 character set, but to encode both parts of the email, the text/plain and text/html parts, using quoted-printable. This ensures that the message is encoded into a 7bit format that can easily pass through any MTA. We are using the Pear Mail and Mail_mime packages to build and send the emails, which apparently, automatically mime encodes the UTF-8 headers.

No one seems certain as to how widely supported 8bit mime is on the majority of email servers. Our experience is the support is not enough. At least half of our outgoing emails were passing through a non-compliant MTA. 8bit is going to have to wait a while longer.

Tags: , ,
Related posts
Bookmark: Post to Del.icio.us Post to Digg Post to Google Post to Ma.gnolia Post to MyWeb Post to Newsvine Post to Reddit Post to Simpy Post to Slashdot Post to Technorati

One Response to “Internationalization & Email”

  1. Intervals Blog :: Web Based Productivity Says:

    links from Technorati Myspace just launched a Spanish version of its popular social networking service. At Pelago, we have seen a strong push in the last year to localize web sites and applications for our clients. We have learned a lot about character encoding …especially in regards to handling email. In the next week or so Intervals will support foreign currencies and date/time formats. This is our first step toward true localization with language support within the application coming at a later date.

Leave a Reply