Re: Utf8 in the Lua standalone interpreter on Windows
"'Thijs Schreijer' via lua-l" <[email protected]> Wed, 29 Apr 2026 15:03:06 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 24 Apr 2026, at 18:55, Stephen Hewitt wrote: > Currently on Windows you can't open a file that contains utf8 characters in the standalone interpreter.Similarly, the console chokes on utf8. For me this fixes it (lua.c): > I haven't tried reading data from files, but using LuaSystem we have had no issues reading UTF8 input in Terminal.lua. LuaSystem contains the functions for setting the Console codepages. I've never had to set the locale or set the mode to binary. Thijs -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/c9029346-5b48-4d98-8663-ad577d46577c%40app.fastmail.com.