Added support for ISO encodings.

This fixes issue #6.