From: Dmitry Severin Date: 2006-06-14T17:19:44+09:00 Subject: Re: Unicode roadmap? ------=_Part_79924_26092781.1150273180697 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Almost all typical tasks on Unicode can be handled with UTF8 support in Regexp, Iconv, jcode and $KCODE=u, and unicode[1] library (as in unicode_hack[2]) :) (but case-insensitive regexp don't work for non ASCII chars in Ruby 1.8, that can be probably solved using latest Oniguruma). But if you're looking for deeper level of "Unicode support", e.g. as described in Unicode FAQ[3], those problems aren't about handling Unicode per se, but are rather L10N/I18N problems, such as locale dependent text breaks,collation, formatting etc. To deal with them from Ruby take look at somewhat broken wrappers to ICU library icu4r[4], g11n[5] and Ruby/CLDR[6]. And if you want Unicode as default String encoding and want to use national chars in names for your vars/functions/classes in Ruby code, I believe, it will never happen. :) Links: [1] http://www.yoshidam.net/Ruby.html [2] http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/ [3] http://www.unicode.org/faq/basic_q.html#13 [4] http://rubyforge.org/projects/icu4r [5] http://rubyforge.org/projects/g11n [6] http://www.yotabanana.com/hiki/ruby-cldr.html ------=_Part_79924_26092781.1150273180697--