I have string: '\u041f\u0440\u0438\u0432\u0435\u0442!' and i need to
convert it to string such as '??ڧӧ??!'.
I can convert string to '041f 0440 0438 0432 0435 0442', then convert to
decimal and at the end convert each code to character with function:

> str.scan(/[0-9]+/).each {|x| result_str << x.to_i}

but i don't think that it is the most rational way.
-- 
Posted via http://www.ruby-forum.com/.