desktop entries & UTF-8 links


the desktop entry spec
[] says that a .desktop file of type Type=Link contains the linked URL in the "URL" field, which is specified to be of type "string". So it can only contain ASCII characters. 

FWIW, Nautilus already creates .desktop files with UTF-8 in the URL
field if you drag an IDN link [http://�] from a web browser to
the nautilus desktop. And in fact in this situation UTF-8 is necessary;
since when the hostname is URL-escaped instead, gecko cannot load it.

The type should be changed to "localestring".


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]