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.

Reply via email to