format::desktop_entry: Strip encoding from localized entries

This commit is contained in:
Sasha Koshka 2024-10-22 17:27:14 -04:00
parent 24b58f584f
commit af3a694024

View File

@ -99,6 +99,7 @@ fn parse_entry(line: str) (entry | error) = {
case locale::invalid => return invalid_entry;
};
};
local.encoding = "";
validate_entry_key(key)?;
return entry {