Fix for the UTF-8 memory allocation bug and the UTF-8 encoding
bug related to lone high surrogates.
2 files changed