Hi,

At Mon, 8 Jul 2002 07:22:08 +0900,
Dossy wrote:
> On 2002.07.08, Evan Martin <martine / cs.washington.edu> wrote:
> > 
> > The discussion here about multibyte encodings is mostly about Unicode, I
> > think, which is not supported by Ruby.
> 
> In other words, setting $KCODE="UTF8" doesn't Do The Right Thing?

It works.

> Where's the documentation on $KCODE and what settings are valid
> for it?  "ri $KCODE" doesn't do it for me ... ;-)

I'm not sure about it in English.
http://www.ruby-lang.org/en/man-1.6/ pages are almost empty or
just copied from Japanese pages.

Current valid values for $KCODE are strings start with
followings (case insensitive).

  "E" for EUC-JP
  "S" for Shift-JIS
  "U" for UTF-8

The other values are treated as "NONE", ASCII only.

-- 
Nobu Nakada