php - Encoding and corrupted characters appearing -
i having trouble corrupted characters appearing on form. have code in notepad++. seen in following image happens when code encoded utf8 without bom. http://i.stack.imgur.com/ggxyd.png
http://puu.sh/7pbgq.png second image happens when saved utf8. however, follow problems.
warning: session_start() [function.session-start]: cannot send session cache limiter - headers sent (output started @ /home/.../event.php:1) in /home/.../validation.php on line 6
event.php starts off like:
<?php require 'validation.php'; require 'member_header.php'; require 'member_header_vevent.php'; ?> <html> <head> <!-- utf-8 recommended encoding pages --> <meta http-equiv="content-type" content="text/xml; charset=utf-8" /> <title>special event</title> <link rel='shortcut icon' href='images/vyico.ico'>
validation.php starts off like:
<?php $page_title = "validation"; // comments session_start();
my understanding files should saved utf8, causing warning pop up. looking around, warning comes around if appears
byte order mark striking again. common question please refer these answers , try use in files:
Comments
Post a Comment