Subject:
[ruby-ffi] Re: Using Windows Unicode functions
From:
rogerdpack
Date:
1/19/10 5:15 PM
To:
ruby-ffi

> I think you're refering to these lines?
> -----------------------------------
> buffer.force_encoding("UTF-16LE")
> puts buffer.encode("ISO-8859-1").rstrip #Everything displayed correct
> -----------------------------------

I was thinking more of commenting out the line that throws the
exception "string contains null byte"
-r