Home | History | Annotate | Download | only in tests

Lines Matching full:utf8

107   // utf8???? (japanese for "is not utf8") in shift-jis encoding.
108 static const char kSjisString[] = "utf8\x82\xb6\x82\xe1\x82\xc8\x82\xa2";
111 return "Non-UTF8 string was permitted erroneously.";
151 // From UTF8 string -> PP_Var.
152 // Chinese for "I am utf8."
157 return "Unable to convert valid utf8 to var.";
159 // Since we're already here, test PP_Var back to UTF8 string.
165 return "Unable to convert utf8 string back from var.";
175 // From UTF8 string with embedded nulls -> PP_Var.
176 // Chinese for "also utf8."
177 static const char kUtf8WithEmbededNull[] = "\xe6\xb9\x9f\xe6\x98\xaf\0utf8.";
183 return "Unable to convert utf8 with embedded nulls to var.";
185 // Since we're already here, test PP_Var back to UTF8 string.
189 return "Unable to convert utf8 with embedded nulls back from var.";