Hi,
----- Original Message ----- 
From: "Mike Meng" <meng.yan / gmail.com>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Saturday, December 03, 2005 10:07 PM
Subject: Re: Encounter troubles with Regex in Chinese text splitting


> Hi Park,
>   It works. Thank you very much!
>
>   Could you please tell me the reason and where can I find relevant
> documents?
>
>   Thank you.
>
>   myan
>
>

$KCODE is the character coding system Ruby handles. If the first character 
of $KCODE is `e' or `E', Ruby handles EUC. If it is `s' or `S', Ruby handles 
Shift_JIS. If it is `u' or `U', Ruby handles UTF-8. If it is `n' or `N', 
Ruby doesn't handle multi-byte characters. The default value is "NONE".

Regards,

Park Heesob