resolves #308 set proper encoding on input data

- set constant that determines whether to force encoding
- force encoding on all input data
- test to verify input data is properly encoded
- new rake task to run tests w/ US-ASCII default external encoding

Note that the force encoding is *only* used when the default external encoding in Ruby is something other than UTF-8. If the default external encoding is UTF-8, no special code is required.