Maybe of interest, I wrote a routine peek() for visual testing of encoded strings.
See Re: Converting utf-8 to base64 and back
for automatic testing maybe a loop over eq-tests of octet strings (ie without utf8 flag)?
probably speeding it up by testing a long string first and only parts of it if the long test failed?
HTH :)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Properly testing self-compiled character-encodings
by LanX
in thread Properly testing self-compiled character-encodings
by yulivee07
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |