mysql: disable utf8

master
Andrew Dolgov 18 years ago
parent 150b4a2ca5
commit c1879099e1

@ -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"];

@ -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…
Cancel
Save