2007/10/9, Thiago Macieira <[EMAIL PROTECTED]>: > 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.
If what changes? I currently use UTF-8 encoded locale while saving data to a ISO-8859-2 encoded USB stick. For each path segment check the charset used by said directory (if on a different mount) and parse next segment accordingly to that. This should work. Note that I in no way support creating non-ascii icon names or desktop entries visible in some locales but not in others. -- Patryk Zawadzki Generated Content _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
