Encoding Problem (I think)

I’ve been trying to figure out why gash won’t work under Ruby 1.9. I
posted this issue:

https://github.com/judofyr/gash/issues/4

In brief, it looks like strings contain “\x00” where as under Ruby 1.8
those were “\000” instead.

Am I right then that this is an encoding error, and if so how in the
word do I fix it? I.e. how do I get "\000"s back?

Thanks.

I aways have encoding problems doing screen scrapping, and I’m
interested in better solutions, but sometimes iconv helps me.

Att
Thiago Alessio

Sent from my iPhone

Hi,

In message “Re: Encoding Problem (I think)”
on Mon, 30 May 2011 13:02:59 +0900, Intransition
[email protected] writes:
|
|I’ve been trying to figure out why gash won’t work under Ruby 1.9. I
|posted this issue:
|
| https://github.com/judofyr/gash/issues/4
|
|In brief, it looks like strings contain “\x00” where as under Ruby 1.8
|those were “\000” instead.
|
|Am I right then that this is an encoding error, and if so how in the
|word do I fix it? I.e. how do I get "\000"s back?

I don’t call it an “encoding error”, but I admit it is
incompatibility. I am not sure where we should fix. Need more
investigation.

          matz.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs