Solved

Unicode chars are not displaying properly now?

Posted on 2007-12-04
3
160 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction (All good things must come to an end (http://en.wikipedia.org/wiki/All_Good_Things...))The original MySQL API (http://php.net/manual/en/book.mysql.php) has gone away, deprecated by PHP in Version 5.5, and removed from PHP in all current…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

863 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

19 Experts available now in Live!

Get 1:1 Help Now