-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cyrillic names in addressbook after windows update (RC 1.3.6) #6299
Comments
It looks like it breaks contact's display name. It is generated in rcube_addressbook::compose_display_name() from firstname and surname, but I don't see how it would create such a garbage. In any case lack or broken locale should not cause such issues. Did you try with disabled all plugins? Use most recent version. |
There's no need to tell the same story more than once. Answer to the questions or we won't be able to help you. |
Yes, i tried without plugins. |
This is strange. As I see in the error log when you add a new contact, the surname and firstname is correct but full name is invalid. And this is generated in rcube_addressbook::compose_display_name(). If you'd know PHP a little bit you could do some debug there. On a first look at the code I don't see a problem. The issue on contacts list is similar, but it might be something different, though the code is almost the same for this part. |
Ok, if i remove
Contact names shown normally in russian. |
Does it work if you change that line to:
? |
Works fine in this place, and show cyrillic names, but this modification doesn't resolve problem with adding new contact. |
Did you do this in rcube_addressbook::compose_display_name()? |
rcube_addressbook::compose_list_name() |
Then you have to do this in both. |
It's very strange, but it works! ) |
Could you please also check |
Still I'm unable to reproduce this. What returns How about |
en_US.utf8
works fine |
Thanks. Ok, then I think we can stay with |
preg_replace() is faster so we'll use that. Fixed. |
Hello, my installation is:
After last update windows 10 to 1803 (biuld 17134.48) i have problem with addressbook. All contacts in list shown as empty lines (red line).
If i'll try to add new contact with cyrillic letters - in error log i getting DB Error((
In MySQL DB
contacts
everything is fine - cyrillic is cyrillic.I've tried to rollback apache to 2.4.20, php to 7.0, rouncube to 1.30 and everywhere i have same problem.
Any ideas?
Temporary resolve for this problem:
/program/include/rcmail.php
replace line 181
to
But i think it's no good(
The text was updated successfully, but these errors were encountered: