Fixed encoding support for UTF-8 strings.