Replacement lfs and lua original api to support utf-8 filename
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md hello world Oct 25, 2017
Makefile hello world Oct 25, 2017
README.md add popen Oct 26, 2017
winfile.c use utf8 filename for debug Feb 26, 2018

README.md

Support UTF-8 filename in Windows

This lua library is for windows (mingw) only . It's similar to lfs but support utf-8 filename.

  • lfs.dir ==> winfile.dir
  • lfs.currentdir ==> winfile.currentdir
  • lfs.chdir ==> winfile.chdir
  • lfs.touch ==> winfile.touch
  • lfs.mkdir ==> winfile.mkdir
  • lfs.rmdir ==> winfile.rmdir
  • lfs.attributes ==> winfile.attributes
  • os.remove ==> winfile.remove
  • os.rename ==> winfile.rename
  • os.execute ==> winfile.execute
  • os.getenv ==> winfile.getenv
  • loadfile ==> winfile.loadfile
  • dofile ==> winfile.dofile
  • io.open ==> winfile.open
  • io.popen ==> winfile.popen
  • winfile.shortname : Get the shorname of the path.
  • winfile.personaldir : Get My Document dir.