Re: "Encoding" key in the desktop entries
- From: Owen Taylor <otaylor redhat com>
- To: Yanko Kaneti <yaneti declera com>
- Cc: desktop-devel-list gnome org
- Subject: Re: "Encoding" key in the desktop entries
- Date: Thu, 30 Jan 2003 18:38:51 -0500 (EST)
Yanko Kaneti <yaneti declera com> writes:
> Hi
>
> Some desktop entries in core modules lack the required by standard [1]
> "Encoding" key. The count:
> 1 acme
> 12 gedit
> 1 gnome-applets
> 1 gnome-media
> 2 metacity
> 8 nautilus
> 1 procman
>
> Another probably more serious problem is that current desktop code
> apparently assumes UTF-8 for the ones without "Encoding", when again by
> standard its supposed to assume Legacy-Mixed.
Look again. The spec allows you to do basically anything you want for
files without an encoding key. The right behavior is usually:
- If the file is valid UTF-8, assume UTF-8
- Otherwise assume legacy-mixed.
Though this is not required in the standard. (The standard *does*
require supporting UTF-8). This more or less what the code
in gnome-desktop does.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]