James Gray wrote: > On Mar 10, 2008, at 10:29 PM, 7stud -- wrote: > >>> 6 >>> >>> James Edward Gray II >> >> How does that prove the ruby supports unicode? > > If the code was not character aware, it would have returned a count of > the bytes in the String (more than six). String#size, for example. > >> Where are there any unicode characters in your string? > > I entered the accented e characters in UTF-8, that's why you see the - > KU switch to tell Ruby the encoding. > > James Edward Gray II Ahh, I see. You think UTF-8 is unicode. And apparently you think that when you enter a UTF-8 character in a post that everyone will see the character you entered. -- Posted via http://www.ruby-forum.com/.