On Wed, 10 Sep 2003 10:40:29 +0100, Steve Hay wrote: >But the question was: How can I arrange for such conversions to be >performed automatically by DBI whenever it receives or returns data?
Well, there are two options... either does the dtabase somewhere stores the flag indicating that some string is in UTF8, or you have to add that information yourself. For the latter, I don't know if it'll actually work, but it seems like an appropriate way to do it: add a "BOM" marker at the start of the string. <http://www.unicode.org/unicode/faq/utf_bom.html#22> (and below) -- Bart.