Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Charset

Status
Not open for further replies.

alsaffar

Programmer
Oct 25, 2001
165
KW
Hi there,

Although I have the following line in the header of my script BUT I'm not getting it working!

<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">

The page got displayed using Unicode (UTF-8) NOT Arabic (Windows) as I want!

One thing to be mentioned, I'm running my site for the first time on my new dediated server thats running Apache 2.0.52, so maybe its to due with the Apache settings!

Where did I go wrong?! Thanks in advance ;)
 
You mean the Internet Browser?

I'm using IE6 SP2

I don't have any problem in another server!
 
It's Apache issue. Change (or comment) AddDefaultCharset parameter in httpd.conf: Apache sends this code in http header (has priority over meta tags).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top