Hi,

James Gray wrote:
> Is internal_encoding() for reading only?

Yes, the internal encoding for writing is the encoding of String.
So you don't need to specify.

-- 
NARUSE, Yui  <naruse / airemix.jp>