How to check the username to the allowed characters?

It before so:
^[a-zA-Zа-ha-H0-9* _-]{3,50}$
Until not, there were people from Armenia, Georgia and Greece.
Well Greek I can add:
^[a-zA-Zа-yaa-Yaa-ωΑ-Ω0-9* _-]{3,50}$
But as Chinese or Korean, it is not clear what the first character.

Is it possible to write to /EN/ in the regular season and then you can use any Cyrillic characters?

I use UTF-8, and C# on the server and JavaScript on the client, validation is needed here and there.
September 26th 19 at 07:33
2 answers
September 26th 19 at 07:35
Get tags from introduced, people from these countries have always been, will tell you more if your name or your surname with a hyphen to be written will be yet another trouble. Don't tell allowed, verify that should not be present.

Imagine that you write the laws. It is much easier to write where you can't drink alcohol, and effective than where can.
not) then eventually will have to Supplement places where you can't drink. Easier where you can and sleep peacefully. example inverted) - Darrin_Tow commented on September 26th 19 at 07:38
September 26th 19 at 07:37
Why do you ask so?

ru.wikipedia.org/wiki/%D0%A0%D0%B5%D0%B3%D1%83%D0%...

here
\w - Alphanumeric or numeric character or underscore

Test only)
The problem is deeper. All of these characters are \w -- must be present in the font, that would not be squares. - Darrin_Tow commented on September 26th 19 at 07:40
not in the font and code page
unicode-table.com - Annalise.Hermiston commented on September 26th 19 at 07:43
If we assume the font Open Sans, it needs something to support it. - Darrin_Tow commented on September 26th 19 at 07:46
you are confusing, the font is a display of the graphical symbol. Code remains same in all fonts, just possible different headset. The server comes to the character code, the machine stores the character code. checked character code and displays gricci using any font. - Annalise.Hermiston commented on September 26th 19 at 07:49

Find more questions by tags Character encodingRegular expressionsUnicode