From: Victor Shepelev Date: 2006-06-14T17:26:58+09:00 Subject: Re: Unicode roadmap? From: Dmitry Severin [mailto:dmitry.severin@gmail.com] Sent: Wednesday, June 14, 2006 11:20 AM > To: ruby-talk ML > Subject: Re: Unicode roadmap? > > 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]. Thanks Dmitry! > 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. :) Hmmm.. I've think Unicode IS defaul String encoding when $KCODE=u Not? V.