in reply to Properly testing self-compiled character-encodings

Hey!

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!

  • Comment on Re: Properly testing self-compiled character-encodings