Browse Source

Force mysql to use utf8 regardless of config

spaghetti 8 years ago
parent
commit
539c742c20
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      classes/mysql.class.php

+ 1
- 0
classes/mysql.class.php View File

202
         $this->halt('Connection failed (host:'.$this->Server.':'.$this->Port.')');
202
         $this->halt('Connection failed (host:'.$this->Server.':'.$this->Port.')');
203
       }
203
       }
204
     }
204
     }
205
+    mysqli_set_charset($this->LinkID, "utf8");
205
   }
206
   }
206
 
207
 
207
   function query($Query, $AutoHandle = 1) {
208
   function query($Query, $AutoHandle = 1) {

Loading…
Cancel
Save