]> git.wh0rd.org - tt-rss.git/blobdiff - backend.php
fix charset-related bug, release 1.2.8-p1
[tt-rss.git] / backend.php
index 0437ce819fe696703406a889739c3a5bbf841b44..f65e95466be20007e59ae83a322004ce2906ce6a 100644 (file)
        }
 
        if (DB_TYPE == "pgsql") {
-               pg_query("set client_encoding = 'utf-8'");
+               pg_query("set client_encoding = 'UTF-8'");
+               pg_set_client_encoding("UNICODE");
        }
 
        if (!sanity_check($link)) { return; }