Are you sure the xml file is in utf-8 format? What if it's a plain ASCII text file?
what if you try:
open (my $fh, '<', $filename)
Btw, I don't think, you need 16 bits to represent Spanish characters. Letters like "ó" and "ñ" can be encoded in just 8 bits.
In reply to Re: problem inserting spanish character into mysql
by harangzsolt33
in thread problem inserting spanish character into mysql
by smithyed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |