Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Unicode chars are not displaying properly now?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define alias for servlet 5 56
Accessing field values in Javascript 5 85
how to extract window origin in spring 2 74
Unified Messaging & Collaboration client 5 85
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

809 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