Ruby on Rails Thursday, May 27, 2010

Jaap Haagmans wrote:
> Hi,
>
> We have our e-mail subjects stored in I18n locale files. For the
> English version of the website, we had no problem, but now we're
> translating to German, which uses a lot of symbols like ü and
> Ü for example. We store them as character codes in the YAML
> files,

Why? That's a really bad idea.

> but most e-mail clients won't parse HTML-code in the subjects.
> Is it fine to just use the actual characters in the YAML files?

Yes.

> Will
> that work on any system?

Yes, provided you specify the correct encoding (I recommend UTF-8 for
everything).

>
> Thanks in advance!

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment