Ruby on Rails Tuesday, December 30, 2014

On Tue, Dec 30, 2014 at 3:50 AM, Diego Dillenburg Bueno
<> wrote:
> And also I'm using a mysql database, with the mysql gem, and I have seen some records like:
> <City id: 5560, name: "Xambio\xC3\xA1", capital: false, state_id: 27,..>

You need to make sure your database (or at least the tables you're
using for your app) is set up with the appropriate "character set" and
"collation" for the language(s) you're using.

google: mysql collation portugues brasil

for some specific references; also read the MySQL docs for the DB
version you're running, e.g.

Hassan Schroeder ------------------------
twitter: @hassan

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment