# \[no solution but an idea\]

**URL:** <https://www.ruby-forum.com/t/no-solution-but-an-idea/58604>\
**Category:** Ruby\
**Created:** [April 23, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/no-solution-but-an-idea/58604 "2006-04-23T23:06:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfgang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/54ee81/32.png) [@wolfgang](https://www.ruby-forum.com/u/wolfgang)\
**Post date:** [April 23, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/no-solution-but-an-idea/58604/1 "2006-04-23T23:06:58Z")

</div>

Hi,

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\*’)

Cheers  
Wolfgang
