Forum: Ruby on Rails unicode most common way to handle?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F3f27949240208ffe170ff8ba6abe6ea?d=identicon&s=25 Arthur Chan (arthurccube)
on 2009-01-19 03:59
We are applying Unicode to the Rails project.

Now, As I found in
http://wiki.rubyonrails.org/rails/pages/howtouseun...,

it seems that we can either use
abc.jlength (using jcode)
or
abc.chars.length.

From http://blog.shugo.net/articles/2005/09/16/why-jcode-rb
It then states that jcode should be rewritten.


There are yet other alternatives:icu4r, unicode, utf8proc,
characterencodings

My question is, what is the most common way to handle utf8 encoding.

It is confusing...

Thanks for any help!
Arthur
This topic is locked and can not be replied to.