AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

Registration doesn't support Chinese/UTF8 characters

Open baoang opened this issue 7 months ago • 0 comments

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:

  1. Go to the first page of the domain as a visitor, click log in
  2. Click on Sign up
  3. Input Chinese/UTF8 characters (maybe other Asian characters) and other columns of the form
  4. press the button of Sign up and 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

Screenshots Screenshot-2025-05-25-221947.png

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.

baoang avatar May 25 '25 14:05 baoang