From: Alex Young Date: 2011-09-23T16:07:48+09:00 Subject: Re: StringIO and encodings Eric Hodel wrote in post #1022972: > On Sep 20, 2011, at 8:32 AM, Alex Young wrote: >> I don't know if there's an API for that, but I suspect there isn't. > It's not that hard to check: > > $ ri StringIO | grep encoding > external_encoding > internal_encoding > set_encoding > $ ri StringIO Nothing known about StringIO is what I get. I never assume ri works. -- Alex -- Posted via http://www.ruby-forum.com/.