?
Solved

Web page showing question marks (?) instead of bullets or apostrophes

Posted on 2007-04-02
6
Medium Priority
?
462 Views
Last Modified: 2008-02-01
I am not sure what is going on exactly but there is a web server (apache 2.2.3 + php 4.4.4) which is displaying some characters (specifically apostrophes ' and bullets •) as question marks instead of the appropriate character.  The pages have the bullet (•) character in them instead of using •  I know I can change it to • instead of specifically using the bullet (•) character, but the page was exported from PowerPoint as a HTML document so the next time it gets created I would have to manually edit each slide by hand.  I am guessing that there is something wrong with the encoding, but I am not sure what.  I have a development web server (apache 2.0.50 + php 4.3.8) that displays the characters correctly.

Any ideas?
0
Comment
Question by:bdhtechnology
[X]
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
6 Comments
 
LVL 29

Accepted Solution

by:
TeRReF earned 1600 total points
ID: 18839244
Compare the apache config files of the 2 servers and see if this directive is set
AddDefaultCharset

If so, do they differ?
0
 
LVL 1

Author Comment

by:bdhtechnology
ID: 18839320
Server that is working has:
AddDefaultCharset Off

Server that isn't working had a line in the config file for it, but commented out.  So I added:
AddDefaultCharset Off

Restarted apache2 and still the same thing.  Any other ideas?
0
 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 18840499
add this line to your <head> section in the file.

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
LVL 15

Assisted Solution

by:samri
samri earned 400 total points
ID: 18841565
bdhtechnology,

after you had changed the config, and restarted the server --- sometimes when you refresh the page from the web browser, it may still got the content from cache.  try to clear your browse cache, or hit shift-refresh.

just some thought.
0
 
LVL 1

Author Comment

by:bdhtechnology
ID: 18845505
So it apparently just needed 'AddDefaultCharset Off' set, even though it wasn't set before and is suppose to default to off.  Once I cleared the cache, the question marks went away.  I figured refreshing the page would have been good enough, but I guess not.  Thanks for the help!
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 18846412
You're welcome :)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

777 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