<?php echo bin2hex ($theData), "\n"; ?> What's the output of: SHOW VARIABLES LIKE 'character_set%'
Variable_name Value character_set_client utf8 character_set_connection utf8 character_set_database latin1 character_set_filesystem binary character_set_results utf8 character_set_server latin1 character_set_system utf8
What's the character set of the column you get the data from?
The charset: latin1 and the collation: latin1_swedish_ci.
/Nisse
-- Thodoris