Fixed discarding of character when string contains Unicode escape.