-
Notifications
You must be signed in to change notification settings - Fork 393
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
Add console output codepage for windows #967
Add console output codepage for windows #967
Conversation
Thank you for your interest in improving Luau, but unfortunately we are not going to accept this change. It's up to the host application that embeds Luau to decide how output of a C Having said this, Luau REPL (luau.exe) is a host application that embeds Luau, so doing this might be appropriate in Repl.cpp. |
Another problem is that this change will not allow Luau to be used on Windows Universal App platform. |
Ah alright. If i move this change to |
This reverts commit 20c9bf7.
Yes. |
* Fixed indexing table intersections using `x["prop"]` syntax: #971 * Add console output codepage for Windows: #967 * Added `Frontend::parse` for a fast source graph preparation * luau_load should check GC * Work toward a type-diff system for nicer error messages New Solver * Correctly suppress errors in more cases * Further improvements to typechecking of function calls and return statements * Crash fixes * Propagate refinements drawn from the condition of a while loop into the loop body JIT * Fix accidental bailout for math.frexp/modf/sign in A64 * Work toward bringing type annotation info in * Do not propagate Luau IR constants of wrong type into load instructions * CHECK_SAFEENV exits to VM on failure * Implement error handling in A64 reg allocator * Inline the string.len builtin * Do not enter native code of a function if arguments don’t match --------- Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
* Fixed indexing table intersections using `x["prop"]` syntax: luau-lang/luau#971 * Add console output codepage for Windows: luau-lang/luau#967 * Added `Frontend::parse` for a fast source graph preparation * luau_load should check GC * Work toward a type-diff system for nicer error messages New Solver * Correctly suppress errors in more cases * Further improvements to typechecking of function calls and return statements * Crash fixes * Propagate refinements drawn from the condition of a while loop into the loop body JIT * Fix accidental bailout for math.frexp/modf/sign in A64 * Work toward bringing type annotation info in * Do not propagate Luau IR constants of wrong type into load instructions * CHECK_SAFEENV exits to VM on failure * Implement error handling in A64 reg allocator * Inline the string.len builtin * Do not enter native code of a function if arguments don’t match --------- Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Previously unicode codepoints would be incorrectly shown in windows terminals, such as with u2503(┃):
This change fixes the issue by setting the console's codepage on windows, resulting in fixed behaviour: