Forum: Ruby Re: iterate chars in a string

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
=?iso-8859-1?Q?Pe=F1a=2C_Botp?= (Guest)
on 2005-12-20 12:47
(Received via mailing list)
Logan C. [mailto:removed_email_address@domain.invalid] :

#Careful, a character isn't necessarily a byte in length. You gotta be
#aware of $KCODE.

yup. i hope for an intelligent #each_char in ruby 2.0 :-)

merry xmas and kind regards -botp
This topic is locked and can not be replied to.