Jump to content

Charactor Set


Crew-Portal

Recommended Posts

Quick question. When setting a charactor set should I use a header and a META or just a header?

 

Like:

 

<?php
header('Content-Type: text/html; charset=utf-8');
echo '<meta http-equiv=Content-Type content="text/html; charset=UTF-8">';
?>

 

or just:

 

<?php
header('Content-Type: text/html; charset=utf-8');
?>

Link to comment
https://forums.phpfreaks.com/topic/174416-charactor-set/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.