in reply to I/O encoding question

As a starting point, perluniintro.