From: Matthias Veit Date: 2002-08-28T16:42:22+09:00 Subject: Re: c-api: rb_str_new >>>> YM == matz@ruby-lang.org (Yukihiro Matsumoto) wrote: Hello, YM> |from ruby: YM> |p foo.test("F�älschung") YM> I need more info. The string from test is shorter than the original? YM> I guess it should print 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. ruby: (where # is the German umlaut "a" with two points on top) s="F#lschung" t=a.test(s) p s.length p t p t.length will print: got: F#lschung 9 "F\344lschung" 9 Best Regards, Matthias __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com