Solved

Unicode chars are not displaying properly now?

Posted on 2007-12-04
3
159 Views
Last Modified: 2010-08-05
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
0
Comment
Question by:Loganathan Natarajan
  • 2
3 Comments
 
LVL 20

Expert Comment

by:steelseth12
ID: 20402089
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
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 20402126
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
 
LVL 20

Accepted Solution

by:
steelseth12 earned 500 total points
ID: 20402152
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now