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:

  1. https://stackoverflow.com/a/3256014/3399968
  2. https://stackoverflow.com/a/1068700/3399968
  3. https://stackoverflow.com/a/3256183/3399968

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -