Newsgroups: comp.lang.ruby
From: why the lucky stiff <ruby-t...@whytheluckystiff.net>
Date: Sat, 29 Jul 2006 04:13:04 +0900
Local: Fri, Jul 28 2006 3:13 pm
Subject: Re: state of unicode support
On Sat, Jul 29, 2006 at 01:08:06AM +0900, Charles O Nutter wrote: This isn't a complete answer, but it's the best I can do to help Chad out. > Oh man, I really don't have the energy for this thread again :) Chad: if you > get a straight answer about this, let me know. Others: Is there a simple, > straightforward FAQ entry somewhere that says "to use Unicode you have the > following choices"? This keeps coming up. If you really want to solve the question now, Chad, I'd read Julian Tarkhanov's UNICODE_PRIMER[1]. First, Onigurama[2] is a regular expression engine. It supports Unicode regular Ruby's strings are not unicode-aware. There is a library called 'jcode', which Ruby itself also understands UTF-8 regular expressions to a degree. Using the If you are using Unicode strings in Rails, check out Julian's unicode_hacks The unicode_hacks plugin is interesting in that it tries to load one of several Here are the extensions it prefers, in order: * icu4r: a Ruby extension to IBM's ICU library. Adds UString, URegexp, etc. So, many options, some massive, but most only partial and in their infancy. The most recent entrant into this race, though, is Nikolai Weibull's Nevertheless, it is a very promising library and Nikolai is working at This might be a landslide of information, but it's better than spending all day Signed in elaborate calligraphy with a picture of grapes at the end, _why [1] http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/UNI... You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||