Registration doesn't support Chinese/UTF8 characters
Describe the bug
The computer and browser system support UTF8/Chinese characters, say 射雕大侠, display and edit.
The AVideo platform support UTF8/Chinese input, edit and display, but when registering a new account contains Chinese character, it will fail with alerts.
Also, the Channel name will cut the Chinese character part, even though the account name and channel name (registered with English words) can both be modified to Chinese(I guess that's because the database supports UTF-8).
To Reproduce Steps to reproduce the behavior:
- Go to the first page of the domain as a visitor, click
log in - Click on
Sign up - Input Chinese/UTF8 characters (maybe other Asian characters) and other columns of the form
- press the button of
Sign upand see errors
Expected behavior The registration process will complete, but users will get a prompt below: Invalid username. Your username must be at least 3 characters long and can only contain letters, numbers, and symbols (@ . _ -). If you're trying to use an email, please ensure it's a valid email address.
Error Logs N/A
Desktop (please complete the following information):
- OS: [e.g. iOS]Win 11
- Browser [e.g. chrome, safari] IE Edge
- Version [e.g. 22] 136
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
