Lines Matching refs:UTF
16 utf8, iso88591 := "utf-8", "iso-8859-1"
22 {QEncoding, utf8, "François-Jérôme", "=?utf-8?q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?="},
23 {BEncoding, utf8, "Café", "=?utf-8?b?Q2Fmw6k=?="},
30 {QEncoding, utf8, strings.Repeat("é", 10), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?="},
31 {QEncoding, utf8, strings.Repeat("é", 11), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?= =?utf-8?q?=C3=A9?="},
33 {QEncoding, utf8, strings.Repeat("\x80", 22), "=?utf-8?q?" + strings.Repeat("=80", 21) + "?= =?utf-8?q?=80?="},
35 {BEncoding, utf8, strings.Repeat("\x80", 48), "=?utf-8?b?" + strings.Repeat("gICA", 15) + "?= =?utf-8?b?gICA?="},
59 s := test.enc.Encode("utf-8", test.src)
81 {"=?UTF-8?Q?=C2=A1Hola,_se=C3=B1or!?=", "¡Hola, señor!", false},
82 {"=?UTF-8?Q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?=", "François-Jérôme", false},
83 {"=?UTF-8?q?ascii?=", "ascii", false},
84 {"=?utf-8?B?QW5kcsOp?=", "André", false},
86 {"=?utf-8?b?IkFudG9uaW8gSm9zw6kiIDxqb3NlQGV4YW1wbGUub3JnPg==?=", `"Antonio José" <jose@example.org>`, false},
87 {"=?UTF-8?A?Test?=", "", true},
88 {"=?UTF-8?Q?A=B?=", "", true},
89 {"=?UTF-8?Q?=A?=", "", true},
90 {"=?UTF-8?A?A?=", "", true},
114 {"=?UTF-8?Q?=C2=A1Hola,_se=C3=B1or!?=", "¡Hola, señor!"},
115 {"=?UTF-8?Q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?=", "François-Jérôme"},
116 {"=?UTF-8?q?ascii?=", "ascii"},
117 {"=?utf-8?B?QW5kcsOp?=", "André"},
120 {"=?utf-8?b?IkFudG9uaW8gSm9zw6kiIDxqb3NlQGV4YW1wbGUub3JnPg==?=", `"Antonio José" <jose@example.org>`},
121 {"=?UTF-8?A?Test?=", "=?UTF-8?A?Test?="},
122 {"=?UTF-8?Q?A=B?=", "=?UTF-8?Q?A=B?="},
123 {"=?UTF-8?Q?=A?=", "=?UTF-8?Q?=A?="},
124 {"=?UTF-8?A?A?=", "=?UTF-8?A?A?="},
127 {"=?UTF-8?", "=?UTF-8?"},
128 {"=?UTF-8?=", "=?UTF-8?="},
129 {"=?UTF-8?Q", "=?UTF-8?Q"},
130 {"=?UTF-8?Q?", "=?UTF-8?Q?"},
131 {"=?UTF-8?Q?=", "=?UTF-8?Q?="},
132 {"=?UTF-8?Q?A", "=?UTF-8?Q?A"},
133 {"=?UTF-8?Q?A?", "=?UTF-8?Q?A?"},
162 {"=?utf-8?b?Q2Fmw6k=?=", "Café", nil, nil},
165 {"=?utf-8?Q?=?=", "=?utf-8?Q?=?=", nil, nil},
166 {"=?utf-8?Q?=A?=", "=?utf-8?Q?=A?=", nil, nil},
219 QEncoding.Encode("UTF-8", "¡Hola, señor!")
227 dec.Decode("=?utf-8?q?=C2=A1Hola,_se=C3=B1or!?=")
235 dec.DecodeHeader("=?utf-8?q?=C2=A1Hola,_se=C3=B1or!?=")