We tried commenting it out but in that case again the page is not
interpreted properly by the JSP engine. It seems that the first character
of the file is being read for gathering some kind of information, which if
replaced ( by < ! - - ) makes the page uncomprehensible.
We have set the charset of the JSP page to UTF-8. setting the charset to
'Shift_JIS'  garbles the page.

Anybody out there with experience in coding japanese/ non-english
sites.....?


Thanks & Regards
Jatin.




                    Margaret Fisk
                    <margaret@QUIVER.        To:     [EMAIL PROTECTED]
                    COM>                     cc:     (bcc: jatin.taneja/Polaris)
                    Sent by: A               Subject:     Re: Junk in JSP files with 
Japanese
                    mailing list
                    about Java Server
                    Pages
                    specification and
                    reference
                    <JSP-INTEREST@JAV
                    A.SUN.COM>


                    03/13/02 12:57 AM
                    Please respond to
                    A mailing list
                    about Java Server
                    Pages
                    specification and
                    reference







Have you tried commenting out the character? It may be required to
interpret
the page as Japanese, but by putting comments around it <!-- --> it should
not display...similar to how you hide JavaScript.

-----Original Message-----
From: Jatin Taneja [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 12, 2000 11:15 AM
To: [EMAIL PROTECTED]
Subject: Junk in JSP files with Japanese



Hi,

we have a peculiar problem here.
We are having JSP pages with some of the string content in japanese which
is used to display the user interface. (japanese web site). The problem is
that every JSP has a strange character in the beginning which shows on the
UI screens as inverted question marks. When we remove the junk character
from the JSP(which is exacltly at the beginning of the page before the <%
starts), the entire page gets garbled and the JSP engine does not parse the
page and throws a parser exception.

does anybody have any idea about this problem ?
any inputs  will be highly appreciated.

Thanks & Regards
Jatin.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com





This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only. If by an addressing or transmission error this mail has 
been misdirected to you, you are requested to delete this mail immediately. You are 
also hereby notified that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail message, 
contents or its attachment other than by its intended recipient/s is strictly 
prohibited.

Reply via email to