partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0edb95d71d0f3aae757ec46b8c4d9fe889303d74
parent a5889f4321d78de275a79ae6bec016cc751fe98d
Author: Felicitus <felicitus@felicitus.org>
Date:   Tue, 13 Mar 2012 03:48:41 +0100

Force UTF8 for connections

Diffstat:
Msrc/backend/de/RaumZeitLabor/PartKeepr/PartKeepr.php | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/backend/de/RaumZeitLabor/PartKeepr/PartKeepr.php b/src/backend/de/RaumZeitLabor/PartKeepr/PartKeepr.php @@ -165,6 +165,8 @@ class PartKeepr { } self::$entityManager = EntityManager::create($connectionOptions, $config); + + self::$entityManager->getConnection()->setCharset("utf8"); } public static function createConnectionOptionsFromConfig () {