Desktop entry files are encoded as lines of 8-bit characters separated by LF characters.
Key names must contain only the characters A-Za-z0-9-
Group names may contain all ASCII characters except for
[ and ] and control characters.
Values of type string may contain all ASCII characters except for control characters.
Values of type boolean must either be the string true or
false.
Numeric values must be a valid floating point number as recognized
by the %f specifier for scanf.
Comment lines are uninterpreted and may contain any character (except for LF). However, using UTF-8 for comment lines that contain characters not in ASCII is encouraged.
The encoding for values of type localestring is determined by the
Encoding field.