mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-08-01 20:52:04 -07:00
[fixes #8] Setting everything to use UTF-8
This commit is contained in:
@@ -1,13 +1,8 @@
|
|||||||
<?php
|
<?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
|
// UTF-8 time?
|
||||||
// from russia with fun,
|
header("Content-type: text/html; charset=utf-8');");
|
||||||
// xkeeper
|
|
||||||
|
|
||||||
|
|
||||||
// cache bad
|
// cache bad
|
||||||
@@ -384,7 +379,7 @@
|
|||||||
$css = "<link rel='stylesheet' href='/mobile.css'>";
|
$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
|
$metatag
|
||||||
<link rel=\"shortcut icon\" href=\"/favicon". (!$x_hacks['host'] ? rand(1,8) ."" : "" ) .".ico\" type=\"image/x-icon\">
|
<link rel=\"shortcut icon\" href=\"/favicon". (!$x_hacks['host'] ? rand(1,8) ."" : "" ) .".ico\" type=\"image/x-icon\">
|
||||||
$css
|
$css
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
$this->connection = (($persist) ? mysql_pconnect($host,$user,$pass) : mysql_connect($host,$user,$pass));
|
$this->connection = (($persist) ? mysql_pconnect($host,$user,$pass) : mysql_connect($host,$user,$pass));
|
||||||
$t = microtime(true)-$start;
|
$t = microtime(true)-$start;
|
||||||
$this->id = ++self::$connection_count;
|
$this->id = ++self::$connection_count;
|
||||||
|
$this->set_character_encoding("utf8");
|
||||||
|
|
||||||
if (self::$debug_on) {
|
if (self::$debug_on) {
|
||||||
$b = self::getbacktrace();
|
$b = self::getbacktrace();
|
||||||
|
Reference in New Issue
Block a user