Reduced characters that get encoded to just the illegal set
Added surrogate pair character to test
Merge pull request #11 from christav/fix-encoding-111

Reduced characters that get encoded to just the illegal set. Merging after discussion with jcookems, will do further work under separate work items.