Re: Glib::filename_to_unicode bug?
- From: Brian Manning <elspicyjack gmail com>
- To: Dave Hayes <dave jetcafe org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Glib::filename_to_unicode bug?
- Date: Thu, 15 Apr 2010 20:20:57 -0700
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]