Forum: Ruby [no solution but an idea]

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.
Wolfgang (Guest)
on 2006-04-24 01:06
(Received via mailing list)

I just read the quiz and the solutions an as I had to parse some unicode
text I had an idea: why not using "unpack" on the string and getting the
number of the character in the code. Then you could also (with some
manual code replace a "o" by an ö or other similar looking characters.

str1="und seine Höhlen"
string = str1.unpack('U*')

This topic is locked and can not be replied to.