Fixed unicode support for surrogate characters in parser. Closes #56