in reply to What's with the weird accent "a" after I parse a table?
Use the hexdump command-line utility or something like it to look at the bytes in the source file and in your output. Be sure you are using a UTF-aware Perl and maybe you need to specify -C on the command line.