mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
mysql: set connection charset to utf-8
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
if (DB_TYPE == "pgsql") {
|
||||
pg_query("set client_encoding = 'utf-8'");
|
||||
pg_set_client_encoding("UNICODE");
|
||||
} else {
|
||||
db_query($link, "SET NAMES utf8");
|
||||
db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
function getVirtualFeeds($msg) {
|
||||
|
||||
Reference in New Issue
Block a user