mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-07 07:34:43 -04:00
Dual encoding for both WLAN enums via the readEnumField template: languageCode (int 0..10 OR token "enUS" / "enGB" / "deDE" / "esES" / "frFR" / "itIT" / "koKR" / "ptBR" / "ruRU" / "zhCN" / "zhTW") and namespace (int 0..7 OR token "ui" / "quest" / "item" / "spell" / "creature" / "tooltip" / "gossip" / "system"). UTF-8 round-trip preserved through JSON: nlohmann::json escapes multibyte sequences as \uXXXX surrogate pairs on export and decodes them back to bytes on import, producing byte-identical binary output. The Korean "취소" and Chinese "取消" UI translations from the preset round-trip cleanly through the binary -> JSON -> binary cycle. All 3 presets (ui-basics / quest-sample / tooltip-set) byte-identical roundtrip OK including the multibyte strings. CLI flag count 1288 -> 1290.
280 KiB
280 KiB