HTML-Parser: storing into a DB words with special chars

thomas Armstrong <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Hi.

Using Perl v5.8.5 + HTML-Parser v3.45 + MySQL v4.1.9 on Linux FC2.

I'm trying to parse a UTF-8 document (<?xml version="1.0" encoding="UTF-8"?>), 
and store it into a MySQL database (Collation: utf8_bin).

The document contains special characters ('música española' for instance), and
after storing it into de DB, I get this word: "música española"

I tried with:
----
   utf8::decode($document);
   my $p = HTML::TokeParser->new( \$document );
----

But it doesn't work. How can I store words with special characters? Regards.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.