how do i properly combine Session Start and UTF-8 header

2 replies
how do i properly combine Session Start and UTF-8 header ?


help anyone
#combine #header #properly #session #start #utf8
  • Profile picture of the author ForexReplay
    <?php
    session_start();
    header('Content-Type: text/html; charset=utf-8');
    {{ DiscussionBoard.errors[10734587].message }}
  • Profile picture of the author Sun Tzi
    Plus do not forget to change also the charset in SQL (before any other query), if you are using MySQL.
    {{ DiscussionBoard.errors[10745022].message }}

Trending Topics