A newbie question: I have configured the action mailed properly with
correct smtp server, domain, login, password and port. Yet I cannot the
system cannot sendout the emails, is there a log setting that I can
enable to see the failure logs for ActionMailer? I do see in the
development.log file that a template email that was suppose to be sent
out was printed with working link to confirm the account creation. But
no actual email gets sent out…
I have been trying to get this to work for a while with no luck.
----- Original Message ----
From: Francois B. email@example.com
Sent: Thursday, March 9, 2006 10:20:25 PM
Subject: Re: [Rails] Problem saving data in different languages
2006/3/9, John firstname.lastname@example.org:
Hi, I currently have a site that lets people enter info and submit it to
the database. But the problem is the it lets people enter data in their
language (portuguese and spanish) and all the special characters for
those languages get replaced by symbols. Any idea how would I fix that?
That partially depends on your database backend and some other things.
Please see the How To Use Unicode Strings on the Rails Wiki:
In my case, I use Windows and only have the bit in config/database.yml
and a before_filter set in ApplicationController that sets my
Content-Type to “application/xhtml+xml; charset=UTF-8”. Works fine
for me. YMMV. My physical view files are also UTF-8 encoded. Rails
simply copies bucket-o-bits around, and feels fine with it.