[fixes #8] Setting everything to use UTF-8

This commit is contained in:
Xkeeper
2015-08-09 23:24:17 -07:00
parent 340ebd2ed1
commit 0c24f7a669
2 changed files with 5 additions and 9 deletions

View File

@@ -1,13 +1,8 @@
<?php
// dear xkeeper:
// removing most images and dropping the file size a good mobile site does not make
// cattishly yours,
// hydrapheetz
// dear hydrapheetz:
// trying to stuff a square peg (jul) into a round hole (mobile) does not a good idea make
// from russia with fun,
// xkeeper
// UTF-8 time?
header("Content-type: text/html; charset=utf-8');");
// cache bad
@@ -384,7 +379,7 @@
$css = "<link rel='stylesheet' href='/mobile.css'>";
}
$header1="<html><head><title>$windowtitle</title>
$header1="<html><head><meta http-equiv='Content-type' content='text/html; charset=utf-8'><title>$windowtitle</title>
$metatag
<link rel=\"shortcut icon\" href=\"/favicon". (!$x_hacks['host'] ? rand(1,8) ."" : "" ) .".ico\" type=\"image/x-icon\">
$css

View File

@@ -22,6 +22,7 @@
$this->connection = (($persist) ? mysql_pconnect($host,$user,$pass) : mysql_connect($host,$user,$pass));
$t = microtime(true)-$start;
$this->id = ++self::$connection_count;
$this->set_character_encoding("utf8");
if (self::$debug_on) {
$b = self::getbacktrace();