No idea. Try the online help or google.

Mark

> -----Original Message-----
> From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 19, 2004 8:33 PM
> To: 'Tomcat Users List'
> Subject: RE: [URGENT] When I type Russian in my .jsps, it 
> displays it as a bunch of squares!
> 
> YAY YAY YAY!
> 
> REJOICE!
> 
> Thanks man!  You saved the day!  Looks like I was on the 
> right track when thinking that I should save file 
> differently, I just didn't follow my intuition :(
> 
> And sorry about blaming tomcat - I can't blame myself, now can I?
> 
> BTW, do you happen to know how to make it so that ALL my 
> files are saved as Unicode?
> 
> > -----Original Message-----
> > From: Mark Thomas [mailto:[EMAIL PROTECTED]
> > Sent: Monday, July 19, 2004 11:43 AM
> > To: 'Tomcat Users List'
> > Subject: RE: [URGENT] When I type Russian in my .jsps, it 
> displays it as a
> > bunch of squares!
> > 
> > Ivan,
> > 
> > This isn't a tomcat problem and I would appreciate it if 
> you would refrain
> > from
> > blaming tomcat without foundation.
> > 
> > The problem is that your JSP is not saved in UTF-8. Try the 
> following in
> > Eclipse:
> > - Right-click on the .jsp file in the package explorer
> > - Select properties
> > - In the 'text file encoding' section select 'Other' rather 
> than 'Default'
> > - Select 'UTF-8' in the now enabled drop down list
> > - Click 'Apply'
> > - Click 'OK'
> > - Save the file
> > - Redeploy your webapp
> > 
> > On XP you can also save JSPs in UTF-8 using Notepad. Select 
> 'Save As...'
> > and
> > select the encoding you require from the drop down list at 
> the bottom of
> > the
> > save file dialog.
> > 
> > I have just cut and pasted the example Russian text from 
> your original e-
> > mail
> > into a JSP. Before changing the encoding I saw a series of ?s in the
> > browser.
> > After correcting the JSP file encoding I saw the expected 
> Russian text in
> > IE.
> > 
> > Mark
> > 
> > > -----Original Message-----
> > > From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 19, 2004 7:13 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: [URGENT] When I type Russian in my .jsps, it
> > > displays it as a bunch of squares!
> > >
> > > Tomcat 5.0.27
> > > Windows XP Pro
> > >
> > > I know that I AM capapble of viewing Russian, because, for
> > > instance, If I try the following:
> > >
> > > <form action="2.jsp">
> > >                   <input type="text" name="text">
> > >                   <input type="submit">
> > >           </form>
> > >
> > > And on another page:
> > >
> > > <%@ page language="java" contentType="text/html; charset=UTF-8" %>
> > >
> > > <%
> > >   String text = request.getParameter("text");
> > >   text = new String(text.getBytes("8859_1"),"UTF8");
> > >
> > > %>
> > >
> > > You entered: "<%=text%>"
> > >
> > > I have no problem seeing Russian here.  But why the hell
> > > can't I type it directly into JSPs?  I guess it would just
> > > like typing it into a java class... does it have anything to
> > > do with jvm?
> > >
> > > > -----Original Message-----
> > > > From: Mark Thomas [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, July 19, 2004 10:50 AM
> > > > To: 'Tomcat Users List'
> > > > Subject: RE: [URGENT] When I type Russian in my .jsps, it
> > > displays it as a
> > > > bunch of squares!
> > > >
> > > > Which version of tomcat?
> > > > What operating system?
> > > >
> > > >   _____
> > > >
> > > > From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, July 19, 2004 9:48 AM
> > > > To: 'Tomcat Users List'
> > > > Subject: [URGENT] When I type Russian in my .jsps, it
> > > displays it as a
> > > > bunch of
> > > > squares!
> > > >
> > > >
> > > > Hi everyone!
> > > >
> > > > First of all, in my JSP page I specify:
> > > > <%@ page language="java" contentType="text/html; 
> charset=UTF-8" %>
> > > > <%@ page pageEncoding="UTF-8"%>
> > > >
> > > > Now, in my <HEAD> I have:
> > > > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; 
> charset=utf-8">
> > > > And when I type the following in my page:
> > > > This is text in English
> > > > ????? ?? ??????
> > > > The English text displays just fine, whereas the Russian is
> > > a bunch of
> > > > squares.
> > > > What could be the problem?  Is it possible that the way I
> > > SAVE the page
> > > > could
> > > > affect it?  I am using Eclipse with Lomboz, and it has no
> > > option to change
> > > > encoding of the file.  Lemme try Microsoft word..
> > > > Nope, Microsoft word doesn't have an option to save page in
> > > different
> > > > encoding.
> > > > I have no clue what to do, and this is urgent because this
> > > project is due
> > > > tomorrow, can someone PLEASE help with this?
> > > > By the way, My browser is configured properly - I have 
> no problem
> > > > displaying
> > > > Russian stuff on other web sites.
> > > >
> > > >   _____
> > > >
> > > >
> > > > Best Regards,
> > > >
> > > > Ivan V. Jouikov
> > > > (206) 228-6670
> > > >  <http://www.ablogic.net/>
> > > >
> > > >
> > > > ---
> > > > Outgoing mail is certified Virus Free.
> > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > Version: 6.0.716 / Virus Database: 472 - Release Date: 
> 05.07.2004
> > > >
> > > >
> > > >
> > > > ---
> > > > Incoming mail is certified Virus Free.
> > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > Version: 6.0.716 / Virus Database: 472 - Release Date: 
> 05.07.2004
> > > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
> > >
> > >
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
> > 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to