Hi, At some places in phpMyAdmin we output binary data and I was told that this might be violating UTF-8. I'm looking for ideas about a function that would trim illegal characters. I know that in some places we use bin2hex() but I would not like this approach in this case. Thanks, -- Marc Delisle http://infomarc.info