Z-Push -> apache german Umlaute (öäü) are not displayed correctly
-
With Z-Push i had the problem that "umlaute(öäü) were not displayed correctly
This character was represented as ‘?’Workaround:
edit the File: z-push/backend/kopano/kopano.php
and change setlocale to german://setlocale to UTF-8 in order to support properties containing Unicode characters //setlocale(LC_CTYPE, "en_US.UTF-8"); setlocale(LC_CTYPE, "de_DE.UTF-8");
Solution :
determinate the OS LANG:locale
LANG=de_DE.UTF-8 LANGUAGE=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=de_DE.UTF-8
edit the File: /etc/apache2/envvars
## The locale used by some modules like mod_dav export LANG=C ## Uncomment the following line to use the system default locale instead: . /etc/default/locale export LANG
-
Hi @allcom,
Where were the umlauts not displayed correctly (emails, appointments, contacts…)?
Which versions of Z-Push and Kopano are you using?
Were the umlauts displayed correctly in webapp without your workaround?
Manfred
-
Hello,
the problem was exclusively with Z-Push email’s suppject (body messages ok), contacts. (Version 2.6.1)
webapp was finaly ok.
The problem was the default apache configuration.
In the default configuration is LANG CIn z-push/backend/kopano/kopano.php is the default hard coded
setlocale(LC_CTYPE, "en_US.UTF-8");
With this setting is “öäü” with the exchange connection by iOS and Andriod is this “???”
The solution is the correct apache configuration with the correct LANG OS settings, or change the hard coded
-
@allcom said in Z-Push -> apache german Umlaute (öäü) are not displayed correctly:
Hello,
the problem was exclusively with Z-Push email’s suppject (body messages ok), contacts. (Version 2.6.1)
webapp was finaly ok.
The problem was the default apache configuration.
In the default configuration is LANG CIn z-push/backend/kopano/kopano.php is the default hard coded
setlocale(LC_CTYPE, "en_US.UTF-8");
With this setting is “öäü” with the exchange connection by iOS and Andriod is this “???”
The solution is the correct apache configuration with the correct LANG OS settings, or change the hard coded
Hello togheter, this solved my long not solved problem with nginx on ubuntu 18. change locale in:
/usr/share/z-push/backend/kopano/kopano.php
to
setlocale(LC_CTYPE, "de_DE.UTF-8");
my umlauts problem since beginning with kopano is now solved 🤗