Florian Weber wrote:
> Hi!
>
> Is there any way to decode a UCS-2 string with ruby?

irb> require 'iconv'
=> true
irb> Iconv.iconv("UTF-8", "UCS-2", "\0a\0b")
=> ["ab"]

Cheers,
Dave