Phil,
So there's no reason to lose data if you load one encoding and save to another. BTW: libxml2 records the encoding that a document had when it was loaded and will save back in the same encoding unless you specify otherwise.
Ah OK. I understand. Alex