Forum Moderators: phranque

Message Too Old, No Replies

ascii characters > 127 showing up as '?'

I'm moving to a new server, and things aren't working the same

         

enchant

10:16 pm on Apr 12, 2005 (gmt 0)

10+ Year Member



I run my own Apache web server and host about 80 domains. I'm moving to a new server (still Linux, still Apache), but I find that some of my users' web sites now have '?' or square blocks showing up where characters used to be.

The pages themselves are horridly done, but these people are paying me for hosting, and if I tell them all to make their web pages compliant, they're all just going to leave and take their business elsewhere. So I've got to fix this.

The characters that are not showing up are things like angled quote marks (opening and closing quote marks), centered dots, etc.

Is there something simple that I can do in my Apache configuration file that will transmit these characters so that they show up as intended?

bird

10:29 pm on Apr 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Header set Document-Type: text/html; charset=iso-8859-1

Unless your old server used to send a different default charset, of course.

enchant

10:34 pm on Apr 12, 2005 (gmt 0)

10+ Year Member



> Header set Document-Type: text/html; charset=iso-8859-1

This is in the Apache config file? In my current working server, I don't see the words "Header" or "Document-Type" anywhere in my httpd.conf file.

jdMorgan

1:02 am on Apr 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To confirm a MIME-type or Charset problem, compare the response headers [webmasterworld.com] of the two servers.

Jim

enchant

2:03 am on Apr 13, 2005 (gmt 0)

10+ Year Member



Aha! That showed me the way. I had to comment out this line:

# AddDefaultCharset UTF-8

Thanks!