Support for different string encodings.
Merge remote-tracking branch 'upstream/tests' into string_encodings
Merge pull request #13 from rvagg/string_encodings

String encodings