Re: _wstat on Windows (actually stat stuff in general)
- From: Kean Johnston <kean johnston gmail com>
- To: Jernej Simončič <jernej|s-gmane eternallybored org>
- Cc: gtk-devel-list gnome org
- Subject: Re: _wstat on Windows (actually stat stuff in general)
- Date: Mon, 26 Sep 2011 15:25:06 +0200
> But which is more likely to happen - user having a filename with foreign
> characters, or user having a symlink (which on Windows can only be created
> by administrators)...
You asked the question slightly incorrectly: which is more likely to
happen: a user have a file on their filesystem that their system codepage
cannot support or having a symlink. I'd say the latter is more frequent
because every single home directory of every user has a bunch of them,
whereas if a filesystem has funny characters in its file names there's a
much greater chance the system generated them and can therefore read them.
Plus I am fairly sure (but not 100%) that MBCS can represent all of the
characters UTF-16 can (which is what the _wstat function uses).
Kean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]