Hi all,
I have a problem : in the following code some characters get "changed" by the script in some way. I gave the string to be searched a specific value to illustrate my problem. In reality $htmlline gets variable values.
-----------
$htmlline = "<td valign='top' >König der Sterne<br>Contatos Cósmicos</td>";
$htmlline =~ s/<td(.*?)>//g;
$htmlline =~ s/<\/td(.*?)>//g;
#following function removes blanks before and after string (not included here)
$htmlline=trimwhitespace($htmlline);
print "$htmlline\n";
K÷nig der Sterne<br>Contatos C¾smicos
-----------
Anybody has an idea how I can fix this ?
Thanks,
Jan