Patryk Zawadzki wrote:
>2007/10/9, Takao Fujiwara - Tokyo S/W Center <[EMAIL PROTECTED]>:
>> I think users want to use their icons and it depends on each user
>> whether they use the simple icon names or not. I'ld like to know how
>> to conver the user's behaviors in the specification but not the each
>> case. Or do you mean we can avoid this case in each implementation,
>> e.g. launching a dialog?
>
>Use the UTF-encoded name and recode it to filesystem encoding when
>searching for the file? Different filesystem can use different
>encodings for file names across one system.

Sorry, but that  breaks if the locale somehow changes.

The solution I see to this is to make the UTF-8 encoding valid only for 
the text entries in the Desktop file. All file paths (as well as possibly 
commands) would be 8-bit encoded. That matches the file URI spec. One 
could want to pass binary data to a command, for instance.

I will add, though, that this solution I presented above will very likely 
break in KDE and we will probably not follow it.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to