Comment autoriser les caractères japonais dans les noms d'utilisateur Discourse

Since my server provider went out of business, I had to reinstall Discourse. Because it’s a fresh installation, many of my previous settings were lost and I’ve forgotten how to configure some of them. Since most of my users are Japanese, I need to allow Japanese characters in usernames. How can I enable this?

On sites where the default locale is Japanese, the allowed_unicode_username_characters setting is configured to [\p{Han}\p{Katakana}\p{Hiragana}ー] by default. The second setting involved is unicode_usernames. You need to enable that.