- Create the database with Unicode support. In MySQL, for example, it would be something like this:
create table onon_development character set utf8; - Add a meta tag to your template. It can be like this one:
<meta http-equiv="content-type" content="text/html; charset="UTF-8"></meta> - Everytime you wanna do Unicode-friendly operations, use the method
charsof the String class, instead of using it directly. - Done!
Unicode support in rails. Quickly.
April 8th, 2008 | rails, unicode

0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment