summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index b59addbf..acf6a40a 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -220,6 +220,8 @@ function db_connect() {
mysql_select_db(AUR_db_name, $handle) or
die("Error selecting AUR database: " . mysql_error());
+ db_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci';", $handle);
+
return $handle;
}