tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Stace <s45652...@yahoo.com>
Subject Re: Problem displaying Shift-JIS Japanese in Tomcat 4
Date Wed, 06 Feb 2002 01:37:56 GMT
On Wed, 6 Feb 2002 09:37:30 +0800
"Galbayar" <galbayar@mobicom.mn> wrote:

> <%@ page language="java" contentType="text/html" %>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=Shift-JIS">
> </head>
> <body>
> </body>
> </html>
> 

I have 

<%@ page contentType="text/html; charset=Shift_JIS" %>    (I am using Struts)

in all my jsp files.  When I change the compiler for the jsp files
in the tomcat configuration file from 

/usr/java/j2sdk1.4.0/bin/javac

to

/usr/bin/jikes

the problem occurs.  Which leads me to think it is jikes causing the problem.


Cheers

Tony





> 
> ----- Original Message -----
> From: "Joel Rees" <joel@alpsgiken.gr.jp>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Cc: <s45652001@yahoo.com>
> Sent: Tuesday, February 05, 2002 17:34
> Subject: Re: Problem displaying Shift-JIS Japanese in Tomcat 4
> 
> 
> > We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK
> > 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but
> > I'll check it.
> >
> > Are you sure it's not your browser? Some older browsers did not recognize
> > Shift_JIS, but did sort of recognize x-sjis.
> >
> > Other issues --
> >
> > The old 8th bit problem should not occur if you are using localhost, I
> > think. If you are ftp-ing to a remote host, do you have ftp set to force
> > binary so your files arrive intact? What about your text editor? Is it
> > saving your files in something else, say, UNICODE?
> >
> > HTH
> >
> > Joel Rees
> >
> > ----- Original Message -----
> > From: "Antony Stace" <s45652001@yahoo.com>
> > To: <tomcat-user@jakarta.apache.org>
> > Sent: Tuesday, February 05, 2002 4:57 PM
> > Subject: Problem displaying Shift-JIS Japanese in Tomcat 4
> >
> >
> > > Hi
> > >
> > > I have a very simply jsp page.  It has
> > >
> > > こんにちは
> > >
> > > in shift-jis format in it.  However when I display this page I get
> garbage
> > where
> > > こんいちは is.  Is there any configuration that I need to do to enable
> > Japanese
> > > characters to be displayed.  At the top of the file I have
> > >
> > > contentType="text/html; charset=Shift_JIS"
> > >
> > >
> > > --
> > >
> > >
> > > Cheers
> > >
> > > Tony。
> > > ---------------------------------------------------------------------
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
> >
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


-- 


Cheers

Tony。
---------------------------------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message