Make sure you have saved the XML as a unicode file and that it is placed in the script's directory.
-----------
@Patchou
This is maybe something to be added to the scripting docs: files must be saved as unicode. At first glance I don't see a mention of that anywhere, certainly not in the basic sections like "getting started" or "examples" section or something.