Ryan Smith wrote:
> Thanks, Walton,
> 
> need include something?
> 
> irb(main):006:0> "Hello".encoding
> NoMethodError: undefined method `encoding' for "Hello":String
>         from (irb):6

No, I don't think that method exists in 1.8.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen / marnen.org
-- 
Posted via http://www.ruby-forum.com/.