Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I/O on windows with utf-8 enabled has issues #68

Open
msteveb opened this issue Oct 3, 2016 · 0 comments
Open

I/O on windows with utf-8 enabled has issues #68

msteveb opened this issue Oct 3, 2016 · 0 comments

Comments

@msteveb
Copy link
Owner

msteveb commented Oct 3, 2016

As explained here, http://utf8everywhere.org, accessing files on Windows with non-ansi filenames requires use "wide" APIs. This means using _wfopen rather than fopen, CreateFileW instead of CreateFile, etc.

Here is a list of known APIs that need to be addressed:

  • fopen (_wfopen)
  • stat (_wstat64)
  • rename (_wrename)
  • mkdir (_wmkdir)
  • opendir/readdir (_wopendir, _wreaddir)
  • _open (_wopen)
  • access (_waccess)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant