Hi Scott,

Sorry for my late work. Here, I attach messages_ja.properties.

BTW, I found that the charset for Web pages generated by CAS is set to
ISO-8859-1, not UTF-8. So, the current CVS Head of CAS cannot display
Japanese messages properly. I see `??????' at the place of Japanese
messages.

This is caused by the use of JSP's `include' directive.

For example, in the case of casLoginView.jsp

<jsp:directive.include file="includes/top.jsp" />

is used to include top.jsp. As you see in the top of top.jsp,

<%@ page pageEncoding="UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8" %>

are defined. Although these settings are effective for top.jsp, NOT
for casLoginView.jsp. As the result, the carset of page rendered by
casLoginView.jsp is going to be the default charset, i.e., ISO-8559-1.

So, you need to specify 

<%@ page pageEncoding="UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8" %>

or

<%@ page pageEncoding="UTF-8" %>

at the top of casLoginView.jsp to fix this problem.

Best regards,
Shoji

At Tue, 20 Feb 2007 13:54:26 +0900,
Shoji Kajita <[EMAIL PROTECTED]> wrote:
> 
> Scott,
> 
> I believe that native2ascii also works in the case of Russian characters.
> 
> As for Japanese translation, I will send you as soon as possible:-)
> 
> Shoji
> 
> At Mon, 19 Feb 2007 22:48:57 -0500,
> "Scott Battaglia" <[EMAIL PROTECTED]> wrote:
> > 
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; ISO-8859-1 (7bit)>]
> > Shoji,
> > 
> > Would the native2ascii help with the Russian translation? And any interest
> > in contributing a Japanese translation? ;-)
> > 
> > Thanks
> > -Scott
> > 
> > On 2/19/07, Scott Battaglia <[EMAIL PROTECTED]> wrote:
> > >
> > > I was able to get UTF-8 working correctly.  I was having trouble with
> > > UTF-16 (such as Russian).
> > >
> > > On 2/19/07, Sylvia Hartinger < [EMAIL PROTECTED]> wrote:
> > > >
> > > >  Scott,
> > > >
> > > > So for you having using a UTF-16 file works fine when adding the lines
> > > > below?
> > > > <[EMAIL PROTECTED] contentType="text/html;charset=UTF-8"%>
> > > > <[EMAIL PROTECTED] pageEncoding="UTF-8"%>
> > > >
> > > >
> > > >
> > > > For me it didn't..
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Sylvia
> > > >
> > > >
> > > >  ------------------------------
> > > >
> > > > *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]
> > > > *On Behalf Of *Scott Battaglia
> > > > *Sent:* Thursday, February 15, 2007 1:59 PM
> > > > *To:* Yale CAS mailing list
> > > > *Subject:* Re: CAS unicode/utf-8 characters
> > > >
> > > >
> > > >
> > > > The Russian properties file is saved as UTF-16.  I haven't run
> > > > native2ascii on anything.
> > > >
> > > > -Scott
> > > >
> > > > On 2/15/07, *Shoji Kajita* < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > Did you run native2ascii to produce .properties?
> > > >
> > > > Shoji
> > > >
> > > > At Wed, 14 Feb 2007 16:34:29 +0100,
> > > > "Sylvia Hartinger" <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > [1  <multipart/alternative (7bit)>]
> > > > > [1.1  <text/plain; us-ascii (quoted-printable)>]
> > > > > Hello,
> > > > >
> > > > > I am having problems with characters that are outside the scope of
> > > > ANSI.
> > > > >
> > > > >  Even if you download and deploy the cas version provided on
> > > > >
> > > > >  http://www.ja-sig.org/products/cas/downloads/index.html and deploy
> > > > it,
> > > > > the Russian version will not work. This goes for all .properties files
> > > >
> > > > > that are stored as UNICODE. I tried with storing as UTF-8 and it also
> > > > > does not display the characters properly.
> > > > >
> > > > > Is there anything one can do?
> > > > >
> > > > >
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Sylvia
> > > > >
> > > > > [1.2  <text/html; us-ascii (quoted-printable)>]
> > > > >
> > > > > [2  <text/plain; us-ascii (7bit)>]
> > > > > _______________________________________________
> > > > > Yale CAS mailing list
> > > > > [email protected]
> > > > > http://tp.its.yale.edu/mailman/listinfo/cas
> > > > _______________________________________________
> > > > Yale CAS mailing list
> > > > [email protected]
> > > > http://tp.its.yale.edu/mailman/listinfo/cas
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Yale CAS mailing list
> > > > [email protected]
> > > > http://tp.its.yale.edu/mailman/listinfo/cas
> > > >
> > > >
> > >
> > [1.2  <text/html; ISO-8859-1 (7bit)>]
> > 
> > [2  <text/plain; us-ascii (7bit)>]
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> 

Attachment: messages_ja.properties
Description: Binary data

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to