When using pipes assume input is utf8 rather than assuming ascii
Merge pull request #21 from w3c/jgraham/sub_encoding

When using pipes assume input is utf8 rather than assuming ascii