Re: proposal: extending .desktop files syntax to aid i18n

On 12 Feb 2001, Havoc Pennington wrote:
> Vlad Harchev <hvv hippo ru> writes: 
> >  Is support for utf8 strings in .desktop files planned for gnome-1.4 or not?
> > 
> Don't know - we have the problem right now that you can't tell by
> looking at a .desktop file whether it's old-style with native
> encodings or new-style with UTF-8, which means we can't interoperate
> with KDE, and this is basically our fault since the standard is UTF-8.

 I think there is a hackish solution for this probel: try to convert the
string as if it was in utf8 to local charset (using iconv for example). If the
conversion fails, then treat unconverted string as if it was in native
charset, otherwise use converted string. At least this approach works fine
with cyrillic.
> Havoc
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org

 Best regards,

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