From: Dave Thomas Date: 2000-01-03T12:07:16-06:00 Subject: [ruby-talk:01029] Re: Is this a bug? gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro) writes: > Hi, > > In message "[ruby-talk:01026] Is this a bug?" > on 00/01/03, Dave Thomas writes: > > > � = 1 > > print �, "\n" > > > >(where the variable is an 'a' with a grave accent), I get > > Well, what charactor coding system did you used? Is that iso-8859-1? In the email, 8859-1. In the environment where I ran the Ruby script, the locale was POSIX. There seems to be some effect where an accented character causes Ruby to eat the next character. I've found that this fails: print �, "\n" But this works OK: print � , "\n" Regards Dave -- Thomas Consulting. Innovative and successful developments with Unix, Java, C, and C++. Now in bookstores: The Pragmatic Programmer. www.pragmaticprogrammer.com/ppbook/