Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 29018a2

Browse files
committed
Setted the default charset
* Fixed the problem with getting utf8 chars from database (Cherry picked from 1d892aa)
1 parent 189dacd commit 29018a2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
5+
[Fixed]
6+
- Fixed the problem with getting utf8 chars from database
57

68
## [v1.2.0]
79
[Added]

lib/Auth/Process/DatabaseConnector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function getConnection()
7070
mysqli_real_connect($conn, $this->serverName, $this->username, $this->password, $this->databaseName, $this->port );
7171
}
7272
}
73+
mysqli_set_charset($conn,"utf8");
7374
return $conn;
7475
}
7576

0 commit comments

Comments
 (0)