-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Room name missing after renamed using Arabic characters #1571
Comments
This only happened once so far, I later renamed a few other rooms and all went smooth. |
Can you provide what you renamed it to? That way we can test it ourselves. On Fri, Dec 4, 2015, 3:42 PM Fahad Alduraibi [email protected]
|
I don't remember exactly, but it was something that meant "test", so maybe it was "اختبار" or "تجربة" However, I tried it again with these names and it didn't cause the issue,it seems more of a glitch than a persistence bug. |
Let's close this in that case. |
The same problem just happened again The main channel was called "acc" and I wanted to change it to its Arabic name "اسس" but the name disappeared! The message that shows after changing a name is: "تم تغيير اسم الغرفة إلى: بواسطة فهد" which translates to |
I tried it on my test server and I found this in the browser console:
|
This problem happens every time if "UTF8 Name Slugify" is set to true. This code always returns an empty string if the name is in Unicode characters: the |
Good debugging! What do you suggest? |
Use one that supports Unicode :) e.g. https://github.com/mozilla/unicode-slugify |
The room was created with an english name, then I enabled Arabic characters in the UTF8 regex, renamed the room to an arabic name, it accepted the name but it disappeared!
The text was updated successfully, but these errors were encountered: