Added Encoding target attribute

Allows for optional overriding of the default ASCII encoding