Bug 105796

Summary: Missing Encoding keys
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: redhat-menusAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: tmz
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-29 22:13:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100644    
Attachments:
Description Flags
Add Encoding's and use Terminal=false none

Description Ville Skyttä 2003-09-27 17:04:59 UTC
Various desktop entry files from redhat-menus are missing the Encoding key and
use the deprecated "Terminal=0".  Will attach a patch.

Comment 1 Ville Skyttä 2003-09-27 17:06:09 UTC
Created attachment 94782 [details]
Add Encoding's and use Terminal=false

Oh, and BTW, the tarball is a bzipped but the filename is *.gz ... :)

Comment 2 Ville Skyttä 2003-09-27 17:08:05 UTC
*** Bug 105793 has been marked as a duplicate of this bug. ***

Comment 3 Havoc Pennington 2003-10-06 18:59:30 UTC
Patch applied to cvs, thanks. Need to rebuild.

Comment 4 Bill Nottingham 2003-10-20 22:15:59 UTC
*** Bug 107597 has been marked as a duplicate of this bug. ***

Comment 5 Ville Skyttä 2005-04-04 20:23:53 UTC
As of 3.7.1-9, the following still lack the Encoding key:

/etc/X11/starthere/preferences.desktop
/usr/share/desktop-menu-patches/gnome-pilot.desktop
/usr/share/desktop-menu-patches/gnome-accessibility.desktop
/usr/share/desktop-menu-patches/redhat-gnomemeeting.desktop
/usr/share/desktop-menu-patches/redhat-diagrams.desktop

Comment 6 Ray Strode [halfline] 2007-03-29 22:13:42 UTC
assuming the build finishes okay, this should be fixed in tomorrow rawhide.

Comment 7 Todd Zullinger 2007-03-30 16:13:23 UTC
Isn't the Encoding key now deprecated in the desktop entry spec?  From
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html#deprecated-items
(bullet point 4):

The Encoding key is deprecated. It was used to specify whether keys of type
localestring were encoded in UTF-8 or in the specified locale. Possible values
are UTF-8 and Legacy-Mixed. See Appendix D, The Legacy-Mixed Encoding
(Deprecated) for more details.

Comment 8 Ville Skyttä 2007-03-30 18:34:40 UTC
That's true, it's deprecated nowadays.  It wasn't in 2003 nor 2005 when I
reported/commented on this bug ;)

I think the spec is somewhat unclear about how exactly should the encodings be
specified nowadays, but I guess it's like Comment[fi.ISO-8859-1]=... and for
things of type localestring only (encoding being optional, and defaulting to
UTF-8, in which case it can be omitted).

http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html#localized-keys

Comment 9 Ray Strode [halfline] 2007-03-31 15:38:23 UTC
It doesn't hurt to add it as long as it's set to UTF-8, though.

It just makes the file more compatible.