Apache 2.0.47 - Content negotiation - Charset problems.

This is a discussion on Apache 2.0.47 - Content negotiation - Charset problems. within the Windows Web Servers forums, part of the Web Server and Related Forums category; Okay, I'm running two virtual hosted sites, one of which has recently decided to put a Japanese translation of ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-04-2003
Tannen
 
Posts: n/a
Default Apache 2.0.47 - Content negotiation - Charset problems.

Okay, I'm running two virtual hosted sites, one of which has recently
decided to put a Japanese translation of itself up online.


My problem is that Apache doesn't serve the file in the requested
charset (shift_jis - ISO-2022-JP), it instead returns the file in the
default charset (western - ISO-8859-1) and thus this means that the user
ends up with binary instead of Japanese displayed to their screen.

If the user actively chooses the correct character charset from the view
menu, it looks fine, but until then, it displays with the default one.
However, this is unacceptable, as as soon as they refresh the page, or
click on a link, it reverts to the original character set.

The correct meta tags are already in the html, and simply opening the
pages from a local drive displays them correctly.

I've been looking through the mod_negotiation doco, but when I actually
threw up a test site with a var-mapped choice based on the prefered
language given by the browser, the same thing happened, even after I
specified the charset in the var map.


Can anyone point me in the right direction?

Cheers,
- T.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:50 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0