workaround for unicode issues with NLF in XML files (#2100)