-
Notifications
You must be signed in to change notification settings - Fork 449
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
Account creation fails for user names with accented characters (Windows client) #5024
Comments
Possible duplicate of #1503 |
I dont think so, as there is no xml here, just simple url request. |
Looks like both issues are related to database encoding that doesn't support UTF-8. |
I have a working fix |
The MySQL default charset should be utf8mb4 MariaDB [test]> select @@collation_database; |
Yeah, finally since MySQL 8. |
My username: Dávid Bolvanský
Boinc (Windows) runs following RPC:
https://live.fitcrack.cz/fitcrack/create_account.php?email_addr=testmaixxl%40gmail%2Ecom&passwd_hash=8736ae7117ec1f3710627f22697f6f8c&user_name=D%E1vid%20Bolvansk%FD
and it fails:
Looks like 'Dávid Bolvanský' is in ISO-8599-1 and then urlencoded. If in utf8 and then urlencoded, 'D%C3%A1vid%20Bolvansk%C3%BD' works fine.
boinc/clientgui/ProjectProcessingPage.cpp
Line 408 in aabba28
utf8_str ?
The text was updated successfully, but these errors were encountered: