Re: _wstat on Windows (actually stat stuff in general)
- From: Jernej Simončič <jernej|s-gmane eternallybored org>
- To: gtk-devel-list gnome org
- Subject: Re: _wstat on Windows (actually stat stuff in general)
- Date: Mon, 26 Sep 2011 13:55:20 +0200
On Mon, 26 Sep 2011 08:59:29 +0200, Kean Johnston wrote:
> So, for stat, we have to do a double conversion: first from the input UTF-8
> to UTF-16, and then from UTF-16 to MBCS so that we can call stat instead of
> wstat so that users don't get any nasty surprises when using g_stat() on a
> symlink in Vista. *le sigh*
Won't that fail on filenames that have characters outside of the active
codepage instead?
--
< Jernej Simončič ><><><><>< http://eternallybored.org/ >
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]