Rails411 is your one stop Ruby on Rails resource directory. Here you will find Ruby on
Rails tutorials, Conference & Workshop Listings, Forums, and Hosting. We are the
definitive guide for Ruby on Rails web applications, components, gems, scripts, and
other related resources for Ruby on Rails. Accomplishing more with your Ruby on Rails
website is easy with the help of these tested, pre-packaged, and ready-to-run
resources.
Click any category to add your site for free.
Tuesday, October 14 2008
| Rails411 |
| How To Use Unicode Strings |
While you can’t use Unicode strings with ruby, you can store UTF-8 encoded data in your 8-bit strings. However some of the String methods assume a single byte encoding and therefore return wrong results. Besides, without proper settings you will get output and input as sequences of bytes and you might get parse errors in literals.
|
|
|