Rails Gets Unicode Handling

October 9th, 2006

For those interested in or needing Unicode, changeset #5223 should interest you. It is the initial checkin of ActiveSupport::Multibyte. From the Multibyte API Docs:

ActiveSupport::Multibyte introduces Unicode handling for Ruby strings through the use of the String#chars accessor. The method works as a proxy for the standard Ruby string functions. This proxy will allow you to use the string as if it was a character array, the underlying implementation preserves the encoded byte string for maximum interoperability.

Multibyte even has a screencast for those interested.

Sorry, comments are closed for this article to ease the burden of pruning spam. If you have any further comments, just send me an email.