I have a perl script that uses http to fetch and parse some web data based on data in an already existing .dat file that matches data from the web page.
Everything works except cases where the web page displays a phrase with the é character. I have that exact phrase that appears in the web page in my dat file but the script never picks it up. All other data from the web page that matches lines from the .dat file does work
I think this is a unicode issue, but not sure where to go. I use VI editor
EDIT:
my local file was utf-8 unicode which uses c3a9 to represent é and the webpage uses windows-1252 unicode which is e9 for the é. apparently, as smart as perl is, even when telling 1 string that it is utf8 and telling the other string it is iso-8859-1 (which is also e9 for the é) then even when comparing the 2 strings with eq and both strings contain just é that they still arent eq