You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/test_cases.json
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,20 @@
151
151
"fixed": "Arsenal v Wolfsburg: pre-season friendly – live!",
152
152
"expect": "pass"
153
153
},
154
+
{
155
+
"label": "Inconsistent UTF-8 / Latin-1 mojibake",
156
+
"original": "Ecuadorâ\u0080\u0099s â\u0080\u0098purely political decision on Assangeâ\u0080\u0099 is likely result of â\u0080\u0098US pressureâ\u0080\u0099\u0085",
157
+
"fixed-encoding": "Ecuador’s ‘purely political decision on Assange’ is likely result of ‘US pressure’…",
158
+
"fixed": "Ecuador's 'purely political decision on Assange' is likely result of 'US pressure'…",
159
+
"expect": "pass"
160
+
},
161
+
{
162
+
"label": "Inconsistent UTF-8 / Latin-1 mojibake with an ellipsis from the Windows-1252 character set",
163
+
"original": "Ecuadorâ\u0080\u0099s â\u0080\u0098purely political decision on Assangeâ\u0080\u0099 is likely result of â\u0080\u0098US pressureâ\u0080\u0099…",
164
+
"fixed-encoding": "Ecuador’s ‘purely political decision on Assange’ is likely result of ‘US pressure’…",
165
+
"fixed": "Ecuador's 'purely political decision on Assange' is likely result of 'US pressure'…",
166
+
"expect": "pass"
167
+
},
154
168
{
155
169
"label": "Handle Afrikaans 'n character",
156
170
"original": "ʼn Chloroplas is ʼn organel wat in fotosinterende plante voorkom.",
@@ -333,12 +347,19 @@
333
347
"expect": "fail"
334
348
},
335
349
{
336
-
"label": "Windows-1252 / MacRoman mixup in Spanish",
350
+
"label": "Latin-1 / MacRoman mixup in Spanish",
337
351
"comment": "Requires something like encoding detection",
338
352
"original": "Deja dos heridos hundimiento de barco tur\u0092stico en Acapulco.",
339
353
"fixed": "Deja dos heridos hundimiento de barco turístico en Acapulco.",
340
354
"expect": "fail"
341
355
},
356
+
{
357
+
"label": "Latin-1 / MacRoman mixup in Spanish, 2 characters",
358
+
"comment": "Requires something like encoding detection",
359
+
"original": "Habitantes de Coatl\u0087n conf\u0092an en proyecto de edil electo independiente",
360
+
"fixed": "Habitantes de Coatlán confían en proyecto de edil electo independiente",
361
+
"expect": "fail"
362
+
},
342
363
{
343
364
"label": "UTF-8 / Windows-1251 mixup in tweet spam",
344
365
"original": "Blog Traffic Tip 2 – Broadcast Email Your Blog",
0 commit comments