When an XLIFF file to merge has:
- a UTF-8 BOM (and is in UTF-8)
- an XML encoding declaration wrong set to windows-1252
The output is utf-8 seen as windows-1252. It should be UTF-8 or an error should be provided so the file can be fixed.
The problem is when opening the XLIFF: the BOM does not override the XML declaration, and no check is done.