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

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


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"
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:
   my $p = HTML::TokeParser->new( $document );

But it doesn't work. How can I store words with special characters?

Site Timeline