Re: GtkFileSelector does not work with non-ascii characters



Alexander Larsson <alla lysator liu se> writes:

> If i have a file with non-ascii characters in the name (like the latin-1
> swedish characters öäåÖÄÅ) GtkFileSelector spews:
> ** WARNING **: Invalid UTF8 string passed to pango_layout_set_text()
> 
> Selecting and unselecting the offending file (shown as blank) segfaults,
> with a well known (to me) 'clearing GtkEntry containing broken utf8'
> backtrace.

 export G_BROKEN_FILENAMES=1

It remains to see whether this will fly with users, and clearly we
need to make the filesel a lot more robust than that.

But the basic idea is that having locale-specific characters
on your hard disk without any identification of the locale or
charset is not correct.

Regards,
                                        Owen




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