This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Widechar file functions


Hello,

It would be nice to have Cygwin use Widechar file functions
such as CreateFileW where possible. Current Cygwin code uses ANSI
functions exclusively, which prevents Cygwin programs from getting
unmodified Unicode filenames from the underlying NTFS/VFAT filesystem.

I assume the correct way is to load the relevant Widechar functions via
GetProcAddress and use them if they exist AND a "Cygwin expects UTF-8
char* in file functions" flag was turned on.
This flag should be runtime rather than compile time, so that each
application could define it for itself.

Are there any plans to make those changes in the near future?
Please Cc me as I'm not subscribed to the list.

P.S. It might be important to note that Microsoft sees the Unicode
variant of its API as the future of the Win32 API.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]