Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: Malformed UTF-8 character

by BillKSmith (Monsignor)
on Dec 03, 2022 at 13:39 UTC ( [id://11148528] : note . print w/replies, xml ) Need Help??


in reply to Re^5: Malformed UTF-8 character
in thread Malformed UTF-8 character

My problem was that the \x96 was not the Unicode code-point, or even the utf8 encoding of the character. I now know that it is the cp1252 encoding of \N{EN DASH}. I had forgotten that there is such a thing as cp1252!
Bill