• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Content-type tag not working

I've been trying to get a page up in Japanese on my server.  I'm running Apache 2.0.44 on a Windows XP machine.  When I load the file into IE locally, the page looks fine.  The encoding switches to Shift-JIS (which I want) properly, and the characters look fine.  But, when I upload it to my server, it somehow ignores the Content-type tag, and uses the Western ISO encoding instead.  Is there some setting in Apache that forces it to use some sort of default encoding?  Thanks in advance!
0
junkyboy
Asked:
junkyboy
1 Solution
 
NetWizeCommented:
There are

AddLanguage
AddEncoding
you might want to check and
AddDefaultCharset on
which means ISO-8859-1 is used..

hope it helps
0
 
samriCommented:
junkboy.

Also take a look at mod_negotiation (http://httpd.apache.org/docs-2.0/mod/mod_negotiation.html)

Some related link;
http://httpd.apache.org/docs-2.0/content-negotiation.html

cheers.
0
 
junkyboyAuthor Commented:
Yup, AddDefaultCharset seemed to be the problem.  Changing it to:
AddDefaultCharset Off
seems to have fixed the problem :)  Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now