From: James Gray Date: 2008-12-15T23:05:03+09:00 Subject: Re: ruby 1.9.1: Encoding trouble: broken US-ASCII String On Dec 15, 2008, at 7:41 AM, Brian Candler wrote: > - default internal encoding (not sure what this is, you can set > using -E > too but it defaults to nil) Default internal is the encoding IO objects will transcode incoming data into, by default. So you could set this for UTF-8 and then read from various different encodings (specifying each type in the open() call), but only work with Unicode in your script. James Edward Gray II