← Docs

Understanding UTF-8 BOM Localisation Errors in HOI4

If HOI4 displays raw keys like VIE_industrial_expansion even though the string exists in your .yml file, the file is usually missing a UTF-8 Byte Order Mark.

What HOI4 expects

All .yml files exported by HOI4 Mod Surgery include explicit UTF-8 BOM bytes.