Commit 315ab54
authored
tests: Detect session encoding incapable of U+00F1 (#6567)
iconv() does not necessarily fail to convert U+00F1 to ASCII. For
example, FreeBSD iconv() succeeds and returns '?' instead of the
character in question. Use identical() to compare the result of the
conversion back to the original (which internally converts both to
UTF-8).1 parent 9b8d496 commit 315ab54
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18768 | 18768 | | |
18769 | 18769 | | |
18770 | 18770 | | |
18771 | | - | |
| 18771 | + | |
18772 | 18772 | | |
18773 | 18773 | | |
18774 | 18774 | | |
| |||
0 commit comments