From: matz@... (Yukihiro Matsumoto) Date: 2002-08-28T16:57:13+09:00 Subject: Re: c-api: rb_str_new Hi, In message "Re: c-api: rb_str_new" on 02/08/28, Matthias Veit writes: |I used the umlaut, that is false printed. The word was: |foo.test("F#lschung") where # is one german umlaut (The length |of the string is 9). | |The string returned from test has an escaped umlaut, but the |length of the string is the same: 9. So you need to use "print" or "puts" instead of "p". "p" (and "inspect") escapes "non ASCII characters", such as "a umlaut". matz.