[Bug 896947] xemacs writes wrong file encoding