mysql: disable utf8
This commit is contained in:
parent
150b4a2ca5
commit
c1879099e1
7 changed files with 14 additions and 14 deletions
|
@ -50,8 +50,8 @@
|
|||
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");
|
||||
// db_query($link, "SET NAMES utf8");
|
||||
// db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
$op = $_REQUEST["op"];
|
||||
|
|
4
opml.php
4
opml.php
|
@ -14,8 +14,8 @@
|
|||
pg_query($link, "set client_encoding = 'utf-8'");
|
||||
pg_set_client_encoding("UNICODE");
|
||||
} else {
|
||||
db_query($link, "SET NAMES utf8");
|
||||
db_query($link, "SET CHARACTER SET utf8");
|
||||
// db_query($link, "SET NAMES utf8");
|
||||
// db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
login_sequence($link);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SET NAMES utf8;
|
||||
SET CHARACTER SET utf8;
|
||||
-- SET NAMES utf8;
|
||||
-- SET CHARACTER SET utf8;
|
||||
|
||||
drop table if exists ttrss_version;
|
||||
drop table if exists ttrss_labels;
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
pg_query($link, "set client_encoding = 'utf-8'");
|
||||
pg_set_client_encoding("UNICODE");
|
||||
} else {
|
||||
db_query($link, "SET NAMES utf8");
|
||||
db_query($link, "SET CHARACTER SET utf8");
|
||||
// db_query($link, "SET NAMES utf8");
|
||||
// db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
login_sequence($link);
|
||||
|
|
|
@ -66,8 +66,8 @@
|
|||
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");
|
||||
// db_query($link, "SET NAMES utf8");
|
||||
// db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
$last_purge = 0;
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
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");
|
||||
// db_query($link, "SET NAMES utf8");
|
||||
// db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
$result = db_query($link, "SELECT id FROM ttrss_users");
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
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");
|
||||
// db_query($link, "SET NAMES utf8");
|
||||
// db_query($link, "SET CHARACTER SET utf8");
|
||||
}
|
||||
|
||||
function getVirtualFeeds($msg) {
|
||||
|
|
Loading…
Reference in a new issue