Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

5/25/11 I have a little Chutzpah for my 2nd standup blog post


Todd P asks,

How do you properly render a string containing UTF-8 characters across all views?


  • Todd P answers his own help question this morning:

This is with a MySQL database. When you’re displaying UTF-8 data, the error you get is:

“incompatible character encodings: ASCII-8 BIT and UTF-8″

I added the following to config/environment.rb:

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

And switched from the mysql gem to mysql2 (0.2.7). Also, make sure to update the adapter in config/database.yml.

*Lisette brings us the Yiddish word of the day Chutzpah


  • Hope to see everyone at this weeks happy hour.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *