note
MaxKlokan
0xa9 is already an HEX number, you should not try to convert it with hex().<br>
For example:
<code>
perl -e "$text=chr(0xa9); print $text"
</code>
outputs:<br>
<b>©</b>
<br><br>
while the following:
<br>
<code>
perl -e "$text=chr(hex(0xa9)); print $text"
</code>
outputs:<br>
<b>Wide character in print at -e line 1.<br>
┼©</b>
587493
587493