locale fix
This commit is contained in:
parent
564a797575
commit
9b908d86bd
|
@ -404,6 +404,7 @@ static const luaL_Reg base_funcs[] = {
|
|||
int instead_init(void)
|
||||
{
|
||||
setlocale(LC_ALL,"");
|
||||
setlocale(LC_NUMERIC,"C"); /* to avoid . -> , in numbers */
|
||||
// strcpy(curcp, "UTF-8");
|
||||
/* initialize Lua */
|
||||
L = lua_open();
|
||||
|
|
Loading…
Reference in a new issue