Rocket.chat: Can't create cyrillic room name

Created on 3 May 2018  路  19Comments  路  Source: RocketChat/Rocket.Chat

Hello!
I can't create cyrillic channel name
In settings:
https://i.imgur.com/hKDH0ES.png

But when I create a channel in Cyrillic, it is not created.
Please help me
Thank you!

uux bug

Most helpful comment

Wow!
I've tried on my rocket.chat.
It works! Amazing! =)

This config works:
"Allow special characters in room names" - disabled.
UTF8 Names Validation - [0-9邪-褟袗-携a-zA-Z-_.]+

All 19 comments

+-----------------------------------------------+
| SERVER RUNNING |
+-----------------------------------------------+
| |
| Rocket.Chat Version: 0.63.3 |
| NodeJS Version: 8.9.4 - x64 |
| Platform: linux |
| Process Port: 3000 |
| Site URL: |
| ReplicaSet OpLog: Enabled |
| Commit Branch: HEAD |

Linux rc 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux

rocket chat installed via snap

Question: do you have enabled the "Allow special characters in room names" option in admin settings?

Cheers
Thomas

Yes. "Allow special characters in room names" - enabled.

im add parameters UTF-8_Names_Validation: [0-9邪-褟袗-携a-zA-Z-_.]+
channel name is support 褋yrillic.
you must enable character ranges.

I don't get your problem. Using cyrillic characters is possible (though not always correctly displayed, as mentioned in #10669).

Please add an actual channel name with which it is not possible to create a room.

Cheers
Thomas

Also has this issue.
"Allow special characters in room names" - enabled.
UTF8 Names Validation - [0-9邪-褟袗-携a-zA-Z-_.]+

I can typo Cyrillic names when changing existing room's name, but have "__room_name__ is not a valid room name" error. Although the room name is not "room_name", it's something in Cyrillic, like "褌械褋褌".

@ispryt could you test here? https://rocket-chat-pr-10862.herokuapp.com/

or try clone from this branch https://github.com/RocketChat/Rocket.Chat/pull/10862
thanks

@ggazzo I've tried to create channel with name in russian here: https://rocket-chat-pr-10862.herokuapp.com/
Doesn't work.
In English - it's ok.

@ilyaikik please try disable "Allow special characters in room names"

its very confuse ... but just let me know, I will try improve that (:

@ggazzo I would be happy to try that, but I'm not admin here
https://rocket-chat-pr-10862.herokuapp.com/

Wow!
I've tried on my rocket.chat.
It works! Amazing! =)

This config works:
"Allow special characters in room names" - disabled.
UTF8 Names Validation - [0-9邪-褟袗-携a-zA-Z-_.]+

But now, for Cyrillic names I don't see channel's Avatars made of name's first symbol.
Also user names with Cyrillic symbols behave similar.

could you send a print ? btw I will talk with guys, we have to change some things to allow another languages properly

Yes.
https://drive.google.com/open?id=1NjBhTSNpm-hztrXh4yCqezL3RQiEuDuZ
You see channel names and user's names beginning with Cyrillic have empty avatar.

its hard deal with all languages :P I think your problem is here, I have to test how change to allow different languages.

initials = username.replace(/[^A-Za-z0-9]/g, '').substr(0, 1).toUpperCase();

I think that this issue has been somehow fixed over the time course. I have been able to create rooms with Cyrillic symbols on my instance when I used the same settings as this thread describes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brendanheywood picture brendanheywood  路  3Comments

karlprieb picture karlprieb  路  3Comments

marceloschmidt picture marceloschmidt  路  3Comments

antn89 picture antn89  路  3Comments

Buzzele picture Buzzele  路  3Comments