in reply to Database vs XML output representation of two-byte UTF-8 character

Is the only problem you're having with Test::More::diag(), or is there a more serious place where the problem occurs?


Could you clarify this bit, since it's not valid Perl?

Have you tried other forms of output, such as writing things to a file (opened with the proper encoding)?