reapplied implementation of db_set_charset() for MySQLi...
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index aaeab57..73396c5 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -96,8 +96,7 @@
 	 */

 	function db_set_charset($charset, $collation)

 	{

-		// TODO - add support if needed

-		return TRUE;

+		return @mysqli_query($this->conn_id, "SET NAMES '".$this->escape_str($charset)."' COLLATE '".$this->escape_str($collation)."'");

 	}

 

 	// --------------------------------------------------------------------