Unicode usernames and group names

@pfaffman Thanks. That’s not what I meant, I meant:

username__ or username_ or user_name

User_Name and _Username should work, but it won’t allow Username_ (“Username must end with a letter or a number”)

2개의 좋아요

Thanks. Is there a way to change it?

There is not an easy way.

1개의 좋아요

Thank you Jay, I appreciate it

1개의 좋아요

I tried to allow Japanese characters as username but failed. However, allowing Chinese only with \p{Han} takes effect. Is this method not usable anymore?

It should still work. Did you forget the braces at the beginning and end? It should be [\p{Han}\p{Katakana}\p{Hiragana}] – otherwise could you please provide example usernames that didn’t work?

3개의 좋아요

Thank you!! It works now. The default value of this field was \p{Han} so I thought the braces were not necessary. :flushed:

2개의 좋아요

3 posts were split to a new topic: Issue with renaming user with unicode characters

I wonder why? The username settings are once again restricted to alphanumeric etc. Can’t enter kanji or kana.


It was okay before.

It is now impossible to save user names consisting of kanji and kana.

2개의 좋아요

Are you getting an error? Can you sign up with a Kanji username?

Is [\p{Han}\p{Katakana}\p{Hiragana}] the value of the allowed unicode username characters site setting? Could you please reply with the username that didn’t work as text, not screenshot, so that we can give it a try.

2개의 좋아요

I’m very sorry. It’s been resolved.
There is no problem with the system.
Rather, the long horizontal line in the Japanese pronunciation was not recognized as a kanji. I removed the horizontal lines later in the test and it works fine. Thank you very much for your concern.

3개의 좋아요

Hello, but how can I set this option. In my Language we have this - č,š,đ,ž,dž. I don t know what to do, I have Problem by Sign In.

1개의 좋아요

Great to know this has been allowed! I am interested in allowing apostrophes and macrons. Could someone please help me with what I would need to enter in ‘Allowed unicode username characters’ in order to do this?

2개의 좋아요

By default, all Unicode letters and numbers are allowed when you enable unicode_usernames. Characters with a macron are allowed Unicode characters as well.

If you want to restrict the Unicode characters to characters with a macron, then I’d set the allowed_unicode_username_characters site setting to the following value:

[āǟǡǣḇc̄ḏēḕḗḡẖīḵḻḹm̄ṉn̄ōṓṑȫǭȭȱr̄ṟṝṯūǖṻȳẕ]

If you would like to allow only a subset of those characters, remove everything you don’t need from the list of characters.

Apostrophes aren’t a letter, so they aren’t allowed, and it’s not possible to add them to an allowlist. The reason is that allowing apostrophes in usernames could break functionality like mentions or quotes.

7개의 좋아요