Closed Gaprix closed 3 years ago
Can you upload a fresh server.log?
server.log does not contain the errors that are displayed in the console
Can you paste the file path you used as text here in the issue? I'd like to test some things.
C:\Users\acpla\OneDrive\Рабочий стол\rgrgr\y\PocketMine-MP
I'm not able to reproduce this on a machine using en-GB locale. What locale is your machine using?
ru-RU
I'm not able to reproduce this even after switching Windows language to Russian. I'm not sure what else can be done to debug this.
Do you have any plugins which are changing the locale via setlocale()
?
No
Have you tried running the server from a different folder (not in OneDrive)?
I tried to start the server in C:\PocketMine-MP and there were no errors
I mean a path with Cyrillic characters in it (e.g. C:\Рабочий стол\rgrgr\y\PocketMine-MP
Checked in the C:\Тест directory and got the same error
Can you run chcp
in cmd.exe and post the output?
C:\WINDOWS\system32>chcp
Текущая кодовая страница: 866
The error disappeared after I enabled "beta unicode support" in the regional settings. But I think it's not okay that I had to turn it on
Thanks for the information. I'm still not able to reproduce the problem, whether or not I enable/disable that setting.
Please try https://github.com/pmmp/PocketMine-MP/commit/853222c26075ba7b9bb4b2dfb1a75b4f07986ba1 and see if it resolves your issue.
It did not help.
My actions:
Result: https://pastebin.com/4pfiU6pb
I guess some base64 hack will be needed for this after all. Windows sucks >.<
Please try again with https://github.com/pmmp/PocketMine-MP/commit/baf1f1315acaa29d077bd2556cbf17ab61631788.
This fixed the error. Thanks!
Excellent. May I ask what version of Windows 10 you're using? I wonder if this might have been resolved by updating to a newer version (I haven't been able to reproduce it at all on 21H1).
I have 21H1 (19043.1110)
How bizarre. That's the exact same version I have.
The fix has been merged to master, so I'm going to close this, but if anyone knows a better way to solve this problem, please let me know.
Issue description
The server does not start if the path to the directory contains Cyrillic characters
Steps to reproduce the issue
OS and versions
Plugins
none
Crashdump, backtrace or other files
https://pastebin.com/B3c0n27p