xmlChar * decoded = PmmFastDecodeString( PmmNodeEncoding(real_doc) , ( xmlChar *)string, ( xmlChar *)real_doc->encoding);