Lines Matching refs:strict

23 print("Bad ASCII (non-strict): " . mb_detect_encoding("\xDD\x92", ['ASCII', 'UTF-8'], false) . "\n"…
24 print("Bad ASCII (strict): " . mb_detect_encoding("\xDD\x92", ['ASCII', 'UTF-8'], true) . "\n");
25 print("Bad ASCII/UTF-8, with more errors for ASCII (non-strict): " . mb_detect_encoding("\xD6\x8A\x…
26 print("Bad ASCII/UTF-8, with more errors for ASCII (strict): " . var_export(mb_detect_encoding("\xD…
28 print("UTF-8 BOM (non-strict): " . mb_detect_encoding("\xEF\xBB\xBF", ["UTF-8", "ASCII"], false) . …
29 print("UTF-8 BOM (strict): " . mb_detect_encoding("\xEF\xBB\xBF", ["UTF-8", "ASCII"], true) . "\n");
30 print("UTF-16BE BOM (non-strict): " . mb_detect_encoding("\xFE\xFF", ["UTF-8", "UTF-16BE", "UTF-16L…
31 print("UTF-16BE BOM (strict): " . mb_detect_encoding("\xFE\xFF", ["UTF-8", "UTF-16BE", "UTF-16LE"],…
32 print("UTF-16LE BOM (non-strict): " . mb_detect_encoding("\xFF\xFE", ["UTF-8", "UTF-16BE", "UTF-16L…
33 print("UTF-16LE BOM (strict): " . mb_detect_encoding("\xFF\xFE", ["UTF-8", "UTF-16BE", "UTF-16LE"],…
37 print("EUC-JP (strict): " . mb_detect_encoding($euc_jp, 'UTF-8,EUC-JP,JIS', true) . "\n");
38 print("EUC-JP (non-strict): " . mb_detect_encoding($euc_jp, 'UTF-8,EUC-JP,JIS', false) . "\n");
40 print("UTF-8, polish string 1 (strict): " . mb_detect_encoding($polish1, 'UTF-8,UTF-16,ISO-8859-1',…
41 print("UTF-8, polish string 1 (non-strict): " . mb_detect_encoding($polish1, 'UTF-8,UTF-16,ISO-8859…
42 print("UTF-8, polish string 2 (strict): " . mb_detect_encoding($polish2, 'UTF-8,UTF-16,ISO-8859-1',…
43 print("UTF-8, polish string 2 (non-strict): " . mb_detect_encoding($polish2, 'UTF-8,UTF-16,ISO-8859…
405 Bad ASCII (non-strict): UTF-8
406 Bad ASCII (strict): UTF-8
407 Bad ASCII/UTF-8, with more errors for ASCII (non-strict): UTF-8
408 Bad ASCII/UTF-8, with more errors for ASCII (strict): false
409 UTF-8 BOM (non-strict): UTF-8
410 UTF-8 BOM (strict): UTF-8
411 UTF-16BE BOM (non-strict): UTF-16BE
412 UTF-16BE BOM (strict): UTF-16BE
413 UTF-16LE BOM (non-strict): UTF-16LE
414 UTF-16LE BOM (strict): UTF-16LE
417 EUC-JP (strict): EUC-JP
418 EUC-JP (non-strict): EUC-JP
420 UTF-8, polish string 1 (strict): UTF-8
421 UTF-8, polish string 1 (non-strict): UTF-8
422 UTF-8, polish string 2 (strict): UTF-8
423 UTF-8, polish string 2 (non-strict): UTF-8