AM now transparently sets the charset (from the current locale) for
emails (single-part and multi-part).
Of course, the charset declaration uses the I18n syntax:
I18n.backend.store_translations :'en-US', {
:charset => 'utf-8'
}
--
blog: www.lucaguidi.com
Pro-Netics: www.pro-netics.com
Sourcesense - making sense of Open Source: www.sourcesense.com
Looks very good. Have you had the chance to test this in a "real"
environment, already?
--
sven fuchs sven...@artweb-design.de
artweb design http://www.artweb-design.de
grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone)
d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile)
Of course, we could be missing something, so feel free to keep the
discussion going.
Best,
Josh
The default in en-US.rb is utf-8, the same value of
AM:Base#default_charset. So, if a developer doesn't like this feature or
just wouldn't use it, AM will deliver unicode mails.
Best,
Luca