Solved

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

Posted on 2007-04-02
6
457 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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. …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

730 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