Skip to content
Snippets Groups Projects
Unverified Commit 29018a2e authored by Pavel Vyskočil's avatar Pavel Vyskočil
Browse files

Setted the default charset

* Fixed the problem with getting utf8 chars from database

(Cherry picked from 1d892aa2)
parent 189dacde
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.
## [Unreleased]
[Fixed]
- Fixed the problem with getting utf8 chars from database
## [v1.2.0]
[Added]
......
......@@ -70,6 +70,7 @@ class databaseConnector
mysqli_real_connect($conn, $this->serverName, $this->username, $this->password, $this->databaseName, $this->port );
}
}
mysqli_set_charset($conn,"utf8");
return $conn;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment