Charset SHIFT-JIS - Apache

This is a discussion on Charset SHIFT-JIS - Apache ; I am hosting an application that will be displaying Japanese characters. It is written in PHP. Apache is sending out the following header Content-Type: text/html; charset=ISO-8859-1 I need it to send Content-Type: text/html; charset=shift-jis I know that PHP can send ...

+ Reply to Thread
Results 1 to 2 of 2

Charset SHIFT-JIS

  1. Default Charset SHIFT-JIS

    I am hosting an application that will be displaying Japanese characters. It
    is written in PHP. Apache is sending out the following header

    Content-Type: text/html; charset=ISO-8859-1

    I need it to send

    Content-Type: text/html; charset=shift-jis

    I know that PHP can send out an alternate Content-Type, but would rather do
    it with Apache ( to save modifying code).

    I have tried Header set Content-Type │text/html; charset=shift-jis▓

    And tried adding AddCharset SHIFT_JIS .php

    But these don╣t work.

    I have mod_headers compiled into Apache.

    This alternate header needs to be done per virtualhost only.


    Jeremy


    ---------------------------------------------------------------------
    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



  2. Default Re: Charset SHIFT-JIS

    On 2/3/05 5:11 PM, "Jeremy Hilton" <jeremy-list@adtcs.com> wrote:

    > I am hosting an application that will be displaying Japanese characters. It
    > is written in PHP. Apache is sending out the following header
    >
    > Content-Type: text/html; charset=ISO-8859-1
    >
    > I need it to send
    >
    > Content-Type: text/html; charset=shift-jis
    >
    > I know that PHP can send out an alternate Content-Type, but would rather do
    > it with Apache ( to save modifying code).
    >
    > I have tried Header set Content-Type │text/html; charset=shift-jis▓
    >
    > And tried adding AddCharset SHIFT_JIS .php
    >
    > But these don╣t work.
    >
    > I have mod_headers compiled into Apache.
    >
    > This alternate header needs to be done per virtualhost only.
    >
    >
    > Jeremy
    >
    >
    > ---------------------------------------------------------------------
    > 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
    >



    Sorry I am using 2.0.52


    ---------------------------------------------------------------------
    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



+ Reply to Thread