Commit 693a72f1 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #180 in ZP/z-push from...

Merge pull request #180 in ZP/z-push from bugfix/ZP-861-user-with-umlauts-in-user-name-is to develop

* commit 'b29d19cf':
  ZP-861 Move comment.
  ZP-861 User with umlauts in user name is not able to login.

(cherry picked from commit 9995418d)
parent 701b6375
...@@ -418,8 +418,6 @@ class MAPIUtils { ...@@ -418,8 +418,6 @@ class MAPIUtils {
if (isset($supportmask[PR_STORE_SUPPORT_MASK]) && ($supportmask[PR_STORE_SUPPORT_MASK] & STORE_UNICODE_OK)) { if (isset($supportmask[PR_STORE_SUPPORT_MASK]) && ($supportmask[PR_STORE_SUPPORT_MASK] & STORE_UNICODE_OK)) {
ZLog::Write(LOGLEVEL_DEBUG, "Store supports properties containing Unicode characters."); ZLog::Write(LOGLEVEL_DEBUG, "Store supports properties containing Unicode characters.");
define('STORE_SUPPORTS_UNICODE', true); define('STORE_SUPPORTS_UNICODE', true);
//setlocale to UTF-8 in order to support properties containing Unicode characters
setlocale(LC_CTYPE, "en_US.UTF-8");
define('STORE_INTERNET_CPID', INTERNET_CPID_UTF8); define('STORE_INTERNET_CPID', INTERNET_CPID_UTF8);
} }
} }
...@@ -623,4 +621,4 @@ class MAPIUtils { ...@@ -623,4 +621,4 @@ class MAPIUtils {
} }
} }
?> ?>
\ No newline at end of file
...@@ -75,6 +75,8 @@ include_once('backend/zarafa/mapistreamwrapper.php'); ...@@ -75,6 +75,8 @@ include_once('backend/zarafa/mapistreamwrapper.php');
include_once('backend/zarafa/importer.php'); include_once('backend/zarafa/importer.php');
include_once('backend/zarafa/exporter.php'); include_once('backend/zarafa/exporter.php');
//setlocale to UTF-8 in order to support properties containing Unicode characters
setlocale(LC_CTYPE, "en_US.UTF-8");
class BackendZarafa implements IBackend, ISearchProvider { class BackendZarafa implements IBackend, ISearchProvider {
private $mainUser; private $mainUser;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment