-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Console cyrillic input support? #736
Comments
It works without problems on Linux but I can reproduce a similar problem on Windows. Unlike for you it just prints It's probably an encoding problem in JLine but I'm not quite sure how all of that works on Windows. Can you paste the output of running |
@Minecrell, Active code page: 866 |
You could try to run "chcp 65001" before starting the server. |
|
Now, instead of cyrillic displayed ��������� |
Java doesn't support the unicode codepage, does |
I was testing chcp 1251 earlier to see if it helped and while I could now paste cyrillic characters, they seemed to get garbled by the time they entered ingame chat. This could be something that needs to be handled at a system level by Windows, currently spinning up a VM to test. |
I can't even get it working on builds before all of the input and logging changes, tested against build 1112 on a fresh install of Windows 10, both with English/US region and language, as well as Russian region and language selected. All input is always coming across as ?????. |
I'm pretty sure this is an issue in JLine, so I've opened jline/jline3#133 |
try |
@Minecrell did you ever look into what we need to do to use the jline fixes that have been committed? Is there anything we need to do or is it all handled by your implementation? |
@Zbob750 You'd need to update to the JLine snapshot version because there is no new release yet. I don't think we need any additional changes in Paper. |
Thanks, in retrospect I should've known that :( For now, we will wait on the next Jline release. If this issue becomes more problematic or affects additional users we can reconsider waiting. |
Paper buid №1121 or newer seems that does not support Cyrillic input.
I'm using Windows 8.1 x64, Java 1.8 x64.
Server is running via cmd.exe without custom codepage.
If I'm type "тест", in console it's always appears as "╤В╨╡╤Б╤В".
Initial discussion: #728 (review)
The text was updated successfully, but these errors were encountered: