Unicode chars are not displaying properly now?

we've some problem in the existing unicode portal which is configured in our local server (REDHAT LINUX)... now the problem is unicode texts are not displaying properly. i.e it displays something different.... also the browser encoding is not selected as it should be "UTF-8" ... it is set in all the pages charset=utf-8 to support the encodeing...

when i force to choose the UTF-8 encoding, it displays well... why as default the encoding is not selected to the portal.. as it will solve the displaying unicode texts properly....

what should i do?

Do I need to change again the all the unicode texts in the pages?

Please suggest me
LVL 36
Loganathan NatarajanLAMP DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
steelseth12Connect With a Mentor Commented:
try sending the encoding in the headers....

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

Note: this should e placed before you  output anything in the browser
0
 
steelseth12Commented:
You should set the encoding in the head of the page ...

i.e
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
0
 
Loganathan NatarajanLAMP DeveloperAuthor Commented:
it is already there ... (in the index.php file)... it was working earlier.. i just reinstalled the server and again made all the configs... even live site it works well..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.