Fixed a character encoding issue involving string-to-Unicode conversion.