Hi,

In message "[ruby-talk:16841] RE: national characters is strings"
    on 01/06/25, "Aleksei Guzev" <aleksei.guzev / bigfoot.com> writes:

|I really need it, 'cause I'm Russian-speaker. I need everytime convert
|commandline arguments and filenames between encodings ( via additional
|methos of rb_cString I already added ).

I'm a Japanese-speaker and having similar experience.  I'm currently
woking on multilingualized Ruby (Ruby M17N).  Would the API like the
following help you?

  String.default_encoding = "koi8"
  IO.default_encoding = "koi8"

  pat = /RE in native Russian string/

  for line in open("file-in-koi8")
    print if pat =~ line
  end

If it would, stay tuned.  It would be merged in Ruby 1.8.  And your
help about koi8 and such will be welcomed to support new encodings.
Prototype for Ruby M17N can be fetched from CVS in ruby_m17n branch.

							matz.