Check that EVERYTHING is UTF-8
JSP's, java source (irrelevant but ...), property files, ...
Weblogic also accepts the following in its weblogic.xml
    <!-- Force all request to be UTF-8 encoded  -->  
    <jsp-param>
      <param-name>encoding</param-name>
      <param-value>UTF-8</param-value>
    </jsp-param>


If you do XHTML you can also add the follwoing two to your JSP's.
<%@ page pageEncoding="UTF-8" %>
<?xml version="1.0" encoding="UTF-8" ?>


Hope it helps,

\T,


> -----Original Message-----
> From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
> Sent: 02 April 2004 17:14
> To: 'Struts Users Mailing List'
> Subject: RE: .properties file --> Again I18n problem
> 
> 
> Check the encoding that the page is really being returned 
> with. Some taglibs will override what you specify in your 
> jsp. I've implemented a filter which forces the encoding to 
> UTF-8 to get round this.
> 
> Paul
> 
> > -----Original Message-----
> > From: Ramil Mirhasanov [mailto:[EMAIL PROTECTED]
> > Sent: 02 April 2004 13:02
> > To: Struts Users Mailing List
> > Subject: Re: .properties file --> Again I18n problem
> > 
> > 
> > Now I am able to receive errors, after I have configured Deployment 
> > Descriptor.
> > 
> > But unfortunately, when you wright to ApplicationResources
> > file non-ascii
> > characters, such as ş,ğ, etc.
> > They are not properly displayed from JSP.
> > I tried the following things:
> > - convert special characters with sdk's native2ascii to 
> > unicode, and then to
> > assign my page UTF-8 encoding, but it did not work.
> > The caracters now, are displayed ( not just '?' as before). 
> But still
> > another symbols are comming, not the ones I expected. :(
> > 
> > I use iso-8859-8 encoding.
> > 
> > Can anybody help me to fix this annoying encoding problem?
> > 
> > Regards,
> > Ramil
> > 
> > 
> > 
> > ----- Original Message -----
> > From: "Ramil Mirhasanov" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, April 01, 2004 5:30 PM
> > Subject: .properties file
> > 
> > 
> > I am using Jbuilder9 Enterprise and trying to buid my 1.  example 
> > application with struts.
> > 
> > The problem is, I do not know which ".properties" file to create in 
> > order to be able to write:
> > 
> > <bean:message key="index.title"/>
> > 
> > javax.servlet.ServletException: Cannot find message resources
> > under key
> > org.apache.struts.action.MESSAGE
> > exception is given.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> **************************************
> Axios Email Confidentiality Footer
> Privileged/Confidential Information may be contained in this 
> message. If you are not the addressee indicated in this 
> message (or responsible for delivery of the message to such 
> person), you may not copy or deliver this message to anyone. 
> In such case, you should destroy this message, and notify us 
> immediately. If you or your employer does not consent to 
> Internet email messages of this kind, please advise us 
> immediately. Opinions, conclusions and other information 
> expressed in this message are not given or endorsed by my 
> Company or employer unless otherwise indicated by an 
> authorised representative independent of this message.
> WARNING:
> While Axios Systems Ltd takes steps to prevent computer 
> viruses from being transmitted via electronic mail 
> attachments we cannot guarantee that attachments do not 
> contain computer virus code.  You are therefore strongly 
> advised to undertake anti virus checks prior to accessing the 
> attachment to this electronic mail.  Axios Systems Ltd grants 
> no warranties regarding performance use or quality of any 
> attachment and undertakes no liability for loss or damage 
> howsoever caused.
> 
> 
> ---------------------------------------------------------------------
> 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