com web/bugs: Add meta charset + small fix: include/functions.php

From: Date: Sun, 03 Aug 2014 21:51:40 +0000
Subject: com web/bugs: Add meta charset + small fix: include/functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19616@lists.php.net to get a copy of this message
Commit: 5cb6ca23dac5415b0710a1b3fa7a80b5192250f6 Author: Michael <git@rvapps.org> Sun, 3 Aug 2014 23:51:40 +0200 Parents: 089940179b0286c675d39b7c01360601429edfc0 Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5cb6ca23dac5415b0710a1b3fa7a80b5192250f6 Log: Add meta charset + small fix Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index 96f518b..a0ef41f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1723,12 +1723,11 @@ function response_header($title, $extraHeaders = '') $_header_done = true; header('Content-Type: text/html; charset=UTF-8'); - echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?> - <!DOCTYPE html> <html lang="en"> <head> + <meta charset="utf-8"> <?php echo $extraHeaders; ?> <base href="<?php echo $site_method?>://<?php echo $site_url, $basedir; ?>/"> <title><?php echo $siteBig; ?> :: <?php echo $title; ?></title>

« previous php.webmaster (#19616) next »