This is the mail archive of the
mailing list for the Cygwin project.
Re: fopen with UTF-8 chars in filenames
On Fri, 17 Mar 2006, Paul J. Lucas wrote:
> On Fri, 17 Mar 2006, Christopher Faylor wrote:
> > Cygwin doesn't provide _wfopen.
> 1. I install Cygwin.
> 2. It's in stdio.h that gets installed as part of the Cygwin install.
No, actually it's in stdio.h that's part of MinGW (and is installed as
part of Cygwin only because Cygwin's gcc has a built-in MinGW
> Therefore, as far as I'm concerned, it's in Cygwin.
It's in MinGW. It's not supported by the Cygwin community. The program
you build with it is not a Cygwin program.
> > So, if you are using _wfopen you stopped using Cygwin, then, too, possibly
> > using -mno-cygwin.
> As it happens, I am suppliying -mno-cygwin.
So you're building a pure Windows executable.
> > "I am trying to do what this person did <INSERT URL HERE> and I get an
> > unreferenced error!!!!"
> Then why does it work for me?
Because you're that person. :-) Seriously, you're building a pure Windows
executable that uses MSVCRT for its C runtime. If someone attempted to
build a Cygwin program that used wfopen, they would fail (with the above
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html