Small change for the desktop entry spec
Vincent Untz
vuntz at gnome.org
Fri Jul 27 10:01:36 PDT 2007
Le vendredi 29 juin 2007, à 12:51 -0400, Matthias Clasen a écrit :
> On Fri, 2007-06-29 at 18:37 +0200, Vincent Untz wrote:
> > Hi,
> >
> > Someone reported that in the current version of the spec, we say:
> >
> > "Desktop entry files are encoded as lines of 8-bit characters separated
> > by LF characters."
> >
> > But UTF-8 characters can use several bytes for one character. We can
> > either just say "lines separated by LF characters", "lines of text
> > separated by LF characters" or "lines of UTF-8 characters separated by
> > LF characters".
> >
> > Any opinion on what's best here?
> >
>
> I'd say something like "Desktop entry files are encoded in UTF-8. A
> desktop file is interpreted as a series of lines that are separated by
> linefeed characters.
I went with Matthias' proposition ("8-bit bytes" would have been more
generic, but we're already using UTF-8 now in the spec, so if we want to
make it generic, we'll have to change some other things - and it's
simpler this way).
Thanks,
Vincent
--
Les gens heureux ne sont pas pressés.
More information about the xdg
mailing list