Author Topic: Cyrillic names in addressbook after windows update (RC 1.3.6)  (Read 2749 times)

Offline crasheg

  • Jr. Member
  • **
  • Posts: 12
Hello, my installation is:
Quote
Apache/2.4.33 (Win64) OpenSSL/1.0.2o PHP/7.2.5
libmysql - mysqlnd 5.0.12-dev - 20150407
mysqli,curl, mbstring,intl
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?

Offline crasheg

  • Jr. Member
  • **
  • Posts: 12
Re: Cyrillic names in addressbook after windows update (RC 1.3.6)
« Reply #1 on: May 15, 2018, 06:48:35 AM »
Temporary resolve for this problem:

/program/include/rcmail.php

replace line 181
Quote
setlocale(LC_ALL, $lang . '.utf8', $lang . '.UTF-8', 'en_US.utf8', 'en_US.UTF-8');
to
Quote
setlocale(LC_ALL, 'ru_RU.CP1251', 'rus_RUS.CP1251', 'Russian_Russia.1251');
But i think it's no good(