Mirror of the LuaJIT git repository
Go to file
Wohlstand e2fd9f5288 Allow UTF-8 paths on Windows
A paths trouble appears on Windows OS when program which uses luajit is placed in a path which contains non-ASCII characters.
Usually on Linux, OS X and other posix and unix-like platforms paths are encoded as UTF-8, therefore no troubles with fopen() function.
On modern Windows versions all paths are encoded as UTF-16LE and also fopen() function on Windows always accepts ANSI-encoded paths,
therefore because a codepage mismatch, fopen() think that file is not exists.
To resolve this trouble need to convert accepted path into UTF-16 from UTF-8 and use _wfopen() which accepts UTF-16 paths.

_lua_fopen() and _lua_freopen() functions are made to allow support of UTF-8 paths
on Windows, on any other platforms there are a macros over standard fopen/freopen functions.
2016-03-24 12:28:46 +03:00
doc Fix install for cross-builds. 2016-03-22 22:22:43 +01:00
dynasm Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00
etc Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00
src Allow UTF-8 paths on Windows 2016-03-24 12:28:46 +03:00
.gitignore RELEASE LuaJIT-2.0.0-beta1 2009-12-08 19:46:35 +01:00
COPYRIGHT Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00
Makefile Fix install for cross-builds. 2016-03-22 22:22:43 +01:00
README Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00

README for LuaJIT 2.0.4
-----------------------

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: http://luajit.org/

LuaJIT is Copyright (C) 2005-2016 Mike Pall.
LuaJIT is free software, released under the MIT license.
See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format.
Please point your favorite browser to:

 doc/luajit.html