Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2006, 02:46 AM   #1
Registered: Dec 2004
Posts: 81

Rep: Reputation: 15
Unhappy Problem on Web site character display

I'm having problem regarding the display of character in a website.

Its has weird character display, some kind of ascii text.

The only solution is to change your browser's "View Encoding" from "UTF-8 (Unicode)" to "Western European (Windows)".

Configuration on my "httpd.conf" has this default.

AddDefaultCharset utf-8

Anybody, have some solution to this?
Old 02-21-2006, 02:52 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Your problem is related to
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
at the top of the source of that webpage. Notice that the character set is windows-1252.
Most modern browsers should be able to detect this charset. But I'm not sure all browsers (certainly those
on Linux) will support a charset defined by Microsoft people.
Internet Explorer has an option to "auto-select" the proper encoding (ie display the page using the charset
is was written in).

If you are the editor of the site, I'd recommend switching to a different charset, such as Utf-8 or an ISO.
Those are real standards that are known to everybody (or should be, in any case). A Windows charset is only
standard in the Windows world.

This "charset=" feature overrules any defaults from your httpd.conf, so your utf-8 setting is simply disregarded.
Old 02-23-2006, 03:21 AM   #3
Registered: Dec 2004
Posts: 81

Original Poster
Rep: Reputation: 15
thanx a lot. I will inform the Webmaster about this. Again Thank you very much for the help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
web mail site opening problem gaurang172000 Linux - Networking 3 02-04-2006 09:39 AM
Character Display insane!!! Drunkalot Linux - General 3 05-16-2005 02:42 PM
Chinese Character display firefox/mozilla crnchyfrog Linux - Software 6 10-10-2004 11:30 PM
chinese character input and display -- need help carboncopy Slackware 5 07-06-2004 09:12 PM
Foreign Character Display jrdioko Linux - Software 2 06-21-2004 11:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration