Re: Glib::filename_to_unicode bug?



On Thu, Apr 15, 2010 at 6:45 PM, Dave Hayes <dave jetcafe org> wrote:
What happens if the file name is not proper utf-8 but can be accessed
by an open() call despite this?

I'm guessing that Perl is just passing along the bytes unfiltered to
FreeBSD's open() system call, and it looks like FreeBSD's open() call
is forgiving of improperly encoded UTF-8 for filenames.  However,
since your byte string is not valid UTF-8, it's causing Glib to
complain.

Thanks,

Brian



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