WebApp russian symbols problem
-
Hi
Clean installation of core 8.6.80.964 and webapp 3.4.16.1517 on ubuntu server 18.04
Z-push 2.3.9
OpenLDAP users
language-pack-ru is installed
/etc/default/locales have one string - LANG=ru_RU.UTF-8If i create a file /etc/default/kopano with localization settings, mail stores just can’t created and users can’t to login
without this file, mail stores creation is automatical with first login and without localized folders.
For user is selected russian language and:
The address book selector show “?” for russian words instead, for example " Глобальная адресная книга"
For the user name or other details - the same.
For mails (!!!) with russian chars in subject, or for message body too, if the message is text - the same ((((what where or how to solve this problem?
-
I think i solved problem with russian chars view…
I changed default charset in “server/includes/core/class.conversion.php”/** * Get charset name from a codepage * * @param integer codepage Codepage * @return string iconv-compatible charset name */ public static function getCodepageCharset($codepage) { if(isset(Conversion::$_CODEPAGES[$codepage])) { return Conversion::$_CODEPAGES[$codepage]; } else { // Defaulting to iso-8859-15 since it is more likely for someone to make a mistake in the codepage // when using west-european charsets then when using other charsets since utf-8 is binary compatible // with the bottom 7 bits of west-european // return "iso-8859-15"; return "utf-8"; } }
and i changed “$codepage” in “server/includes/core/class.operations.php”
// $codepage = isset($cpprops[PR_INTERNET_CPID]) ? $cpprops[PR_INTERNET_CPID] : 1252; $codepage = isset($cpprops[PR_INTERNET_CPID]) ? $cpprops[PR_INTERNET_CPID] : 1251;
After reboot and opcache re-creation, russian mails views correct.
-
I will try to repeat this “fix” with another clean installation…
-
So…
I think that was not quite right. To the above edits, it is necessary to add also the setting of the correct value of the language export with the composition of the environment variables of the web server apache. -
@ahillesss said in WebApp russian symbols problem:
If i create a file /etc/default/kopano with localization settings, mail stores just can’t created and users can’t to login
can you post some logging around this? also which setting did you actually modify? which value did you set?