- Fixed: A "call to undefined function A()" would be thrown under some occasions when viewing a bug
- Change: Email templates are now found in the locale/ directory so they can be translated (bug://report/81)
- Fixed: Column headers were not translated for multiple languages (bug://report/79)
+- Fixed: Multibyte language emails are now sent out correctly (bug://report/82)
1.2.0 Release Candidate 1
===============================
// use to store information in. You or your host will have to make it.
$database = 'bugdb';
+// ###################################################################
+// ///////////////////////// UTF8
+// Set this to FALSE if you do not want to use UTF8 as your encoding
+// It is recommended that you use UTF8, however. Do NOT set this to
+// true if your database is not UTF8 (all new installations 1.2 and
+// later do use UTF8)
+$utf8 = true;
+
// ###################################################################
// ///////////////////////// MYSQL PCONNECT
// -------------------------------------------------------------------
define('ISSO_DB_LAYER', 'db_mysql');
$bugsys->load('db_mysql', 'db', true);
$db->connect($servername, $username, $password, $database, $usepconnect);
+if ($utf8)
+{
+ $db->query("SET NAMES utf8");
+}
$bugsys->load('functions', 'funct', true);
$bugsys->load('xml', 'xml', true);
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
+if ($utf8)
+{
+ header("Content-Type: text/html; charset=\"utf8\"");
+}
header("Pragma: no-cache");
// ###################################################################