Description: At step 4, if the list of items contains Chinese characters, creating a share link fails.
Replicate :
- Step 4 > Local list : click > Select: List:Test/Rich_format-zh
- Step 4 > Share list : click > Currently fails !
Suspects :
- Mariadb tables and/or columns requires unicode support ?
- /upload_batches/models.py
#TODO, UTF: Make sure it is compatible with UTF-encoded texts
- UTF: somehow MariaDB on Toolforge will not handle unicode properly without the following two lines
- Ref: https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Django_OAuth_tool#:~:text=connection%20as%20follows%3A-,DATABASES,-%3D%20%7B%0A%20%20%20%20%27default
Ask ChatGPT :
Hello Mentor,
My mariadb has a field which must store characters.
When my inputs only includes ASCII characters, all works.
When my input includes Chinese characters, it fails.
What should I do ?
Keep your answer concise.