Re: [Nautilus-list] i18n for web page titles



Havoc Pennington wrote:
> 
> Hi,
> 
> See:
> 
>   http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=51709
> 
> I think the Mozilla component gives a UTF-8 window title, but we need
> to gtk_window_set_title() with current locale's encoding.
> 
> So we need g_utf8_to_locale() in stable Nautilus. This is easy if we
> can use unportable Linux features. :-/ Making it work cross-platform
> probably involves libiconv.
> 
> Seems like sort of a huge pain for a tiny bug.
> 
> Any thoughts?
> 
> Havoc
> 

I think you spelled out the solution.

#ifdef HAVE_WORKING_UTF8_TO_LOCALE_CONVERSION
/*convert*/
#else
/*you lose*/
#endif

Non Linux users are going to bitch and whine as always.

I dont think it is worth any greater effort to properly fix this, since
presumably this problem will go away when Gtk+2 comes to town.  

-re




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