Solved

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

Posted on 2007-04-02
6
458 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 400 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
Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

 
LVL 15

Assisted Solution

by:samri
samri earned 100 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
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 dynamically set the form action using jQuery.

696 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