Forum: Ruby Re: unicode in ruby

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-03-08 20:30
(Received via mailing list)
Have you tried  ruby-oniguruma
(     ?

Best regards,

Michal S. (Guest)
on 2006-03-08 20:48
(Received via mailing list)
On 3/8/06, removed_email_address@domain.invalid 
<removed_email_address@domain.invalid> wrote:
> Have you tried  ruby-oniguruma _
> (     ?

No. I want an unicode string processing library, not an unicode regexp
library. Currently I am working  on a program that needs to work with
Czech text.
Unicode is not supported in current ruby (1.8), and I can work around
that by using iso-8859-2. I choose the workaround because I need ease
of installation, and the latin2 encoding is still widely used.
With ruby 2 onigurama should be part of the interpreter. But it still
does not give me downcase in utf-8. At least it should be possible to
split a string into characters using Onigurama, and process the
characters myself.



             Support the freedom of music!
Maybe it's a weird genre  ..  but weird is *not* illegal.
Maybe next time they will send a special forces commando
to your picnic .. because they think you are weird.
This topic is locked and can not be replied to.