diff options
-rw-r--r-- | web/lib/aur.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc index b59addb..acf6a40 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; } |