-
Notifications
You must be signed in to change notification settings - Fork 72
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
Russian text in wb.exe #251
Comments
Thanks for the input. 👍 |
Hi, This single line doesn't seem to solve anything on my side, it actually makes things worse:
And still can't type anything.
I tried to give to How are you compiling wb? With MINGW or Cygwin? |
Levak, try - Okay? |
How are you launching warfacebot? Via Cygwin terminal or using
In Cygwin it indeed fixes the input feedback, but cygwin is not the one used to compile public releases. It's Mingw. And with Mingw, no input is possible with RU keyboard. On Cygwin I also have some sort of bug from the readline, when I press backspace it inputs a space, when I press Delete it inputs a |
I add the line "setlocale(0, "ru_RU.UTF-8");" to the file "wb.c". Create a wb.exe, login via hta-launcher (without 1251), and I have Russian text with Russian input. Create a wb.exe using CYGWIN. Perhaps you are not working Russian language due to the fact that you have Russian is not present? I have and have my friend the text Russian and core, too,. English also works. |
Again. Same, you might also have colors using Cygwin, while in Mingw there is none. I'll let this issue open til I figure out what to do exactly with public releases, as publishing Cygwin packages is a no-go for me. |
Hi levak, add to file "wb.c" line "setlocale(0,"");"
After "int main(DTP, char *argv[])".
You should get:
This gives Russian input to the console (wb.exe).
Sorry about my English.
The text was updated successfully, but these errors were encountered: