format::desktop_entry: Strip encoding from localized entries
This commit is contained in:
parent
24b58f584f
commit
af3a694024
@ -99,6 +99,7 @@ fn parse_entry(line: str) (entry | error) = {
|
|||||||
case locale::invalid => return invalid_entry;
|
case locale::invalid => return invalid_entry;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
local.encoding = "";
|
||||||
|
|
||||||
validate_entry_key(key)?;
|
validate_entry_key(key)?;
|
||||||
return entry {
|
return entry {
|
||||||
|
Loading…
Reference in New Issue
Block a user