in reply to Re^3: Safe string handling
in thread Safe string handling

Betcha the OP is decoding entity references without first decoding utf-8. That would produce the "mixed" encoding he's claiming to see.