The file is already Unicode (UTF-8 without BOM), but it doesn't work anyway.
EDIT: Never mind. By looking at another script, I found out the actual "Unicode" charset to use (UCS-2 Little Endian). Still, it's quite weird that charset is important even if I have no special symbols; but I can probably ignore that.