Use encoding from options on read.
Merge pull request #55 from jnewman/encoding-on-read

Use encoding from options on read.