From: messju mohr Date: 2003-12-17T17:27:45+09:00 Subject: Re: non-english characters On Wed, Dec 17, 2003 at 04:05:32PM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: non-english characters" > on 03/12/17, Daniel Bretoi writes: > > |I'm not sure, how can I find out what the germans use? and once I know > |that part, how do I use it? > > Ask somebody around you to find out. Then if you're going to use > Unicode (UTF-8), write your script in UTF-8 and invoke Ruby with -Ku > option. If you use ISO-8859-* or any other single byte encoding, you > don't have to do anything special. > > matz. hmm. regexp works fine for me with unicode. either with "ruby -Ku" on startup or with the /u as regexp-option. but with ISO-8859-+ (1 or 15 in my case) i don't get \w to match accented characters. no big deal, i'm just curious what i'm doing wrong here. i'm using ruby-1.8.1 from debian testing.