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 <Dave / thomases.com> 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/