You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tony Molloy <to...@ul.ie> on 2007/12/11 11:35:08 UTC

[users@httpd] Problems with some charsets ??

Hi,

I been asked to migrate a software localisation website from Fedora 9 to 
Centos 5. Unfortunately much of the content of the site was developed using 
FrontPage on windows.  I'm having trouble with the display of some 
characters. For instance the apostrophe in english text and accents in 
spanish. These are appearing as a black diamond with what appears to be a 
question mark inside.

I've gone through the httpd.conf file on the original web site and tried 
within reason to make the new one as similar as possible.

I've disabled the DefaultLanguage

# DefaultLanguage nl

and the AddDefaultCharset

#AddDefaultCharset UTF-8

Any ideas what else I could do.

Thanks,

Tony

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problems with some charsets ??

Posted by Tony Molloy <to...@ul.ie>.
On Tuesday 11 December 2007 10:52, Severin Gehwolf wrote:
> Hi!
>
> > I been asked to migrate a software localisation website from Fedora 9 to
> > Centos 5. Unfortunately much of the content of the site was developed
> > using FrontPage on windows.  I'm having trouble with the display of some
> > characters. For instance the apostrophe in english text and accents in
> > spanish. These are appearing as a black diamond with what appears to be a
> > question mark inside.
>
> To me, this sounds like that you haven't specified the right
> "Content-Type" header. I assume you are using some standard encoding,
> which is totally ok. However, your pages most probably use a
> windows-specific charset (using some extra characters in the 0x80-0x9F
> range).
> See http://en.wikipedia.org/wiki/Windows-1252

Yep I see the following in several files.

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

Thanks I'll have a look at that page.

Tony

>
> You can research the charset of your original pages and set the
> "Content-Type" header accordingly. Getting rid of those special
> characters would be the better solution, though.
>
> Just some ideas. There might be better solutions...
>
> --
> Severin
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problems with some charsets ??

Posted by Severin Gehwolf <Se...@uibk.ac.at>.
Hi!

> I been asked to migrate a software localisation website from Fedora 9 to 
> Centos 5. Unfortunately much of the content of the site was developed using 
> FrontPage on windows.  I'm having trouble with the display of some 
> characters. For instance the apostrophe in english text and accents in 
> spanish. These are appearing as a black diamond with what appears to be a 
> question mark inside.

To me, this sounds like that you haven't specified the right
"Content-Type" header. I assume you are using some standard encoding,
which is totally ok. However, your pages most probably use a
windows-specific charset (using some extra characters in the 0x80-0x9F
range).
See http://en.wikipedia.org/wiki/Windows-1252

You can research the charset of your original pages and set the
"Content-Type" header accordingly. Getting rid of those special
characters would be the better solution, though.

Just some ideas. There might be better solutions...

--
Severin


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org