Skip to content
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

motd language problem #185

Open
Racpy opened this issue Jan 4, 2021 · 5 comments
Open

motd language problem #185

Racpy opened this issue Jan 4, 2021 · 5 comments

Comments

@Racpy
Copy link

Racpy commented Jan 4, 2021

If i use traditional chinese in MOTD leaderboard
It will show UnicodeDecodeError: 'cp950' codec can't decode

hopefully get solution

@th3-z
Copy link
Owner

th3-z commented Jan 4, 2021

Thanks, I'll take a look. Can you provide an example string that causes the crash?

@Racpy
Copy link
Author

Racpy commented Jan 7, 2021

error

@th3-z
Copy link
Owner

th3-z commented Jan 7, 2021

Hi, I tried putting some traditional Chinese characters in an motd file and it didn't reproduce this crash. Please provide the motd file you used to generate the crash. Either paste it here and specify the file encoding or upload the file somewhere and link it here.

@Racpy
Copy link
Author

Racpy commented Jan 8, 2021

just translate welcome to our server
traditional Chinese characters is 歡迎來到我們的伺服器

server_one.txt
I change file to txt to upload here

@Racpy
Copy link
Author

Racpy commented Jan 15, 2021

Does this help you find the error ?
greeter can't work with traditional Chinese characters too .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants