Sébastien Boisgérault wrote: > ET being ElementTree in the following code, could anyone explain > why it fails ?
I'm afraid the standard serializer in 1.2 only supports ASCII-compatible encodings. this will be fixed in 1.3. as a workaround, you can do: tostring(elem).decode("utf-8").encode("utf-16") </F> -- http://mail.python.org/mailman/listinfo/python-list