struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aum strut" <aum.str...@gmail.com>
Subject Re: New to Struts
Date Wed, 19 Dec 2007 04:13:26 GMT
If you have a new query, please always use a new thread. as starting a new
topic in old thread will not help you a lot

On Dec 19, 2007 12:03 AM, Radu Solomon <rsolomon@n-able.com> wrote:

> What we did was to run the native2ascii during the build/compilation time
> using ant. Our ant task looks something like this:
>
> <!-- Native2Ascii Task -->
>      <target name="convert_native_encodings" depends="all">
>          <delete dir="${resourcesDist}"/>
>          <mkdir dir="${resourcesDist}"/>
>          <native2ascii encoding="UTF-8" src="${resources}"
> dest="${resourcesDist}" >
>              <include name="**/*.properties"/>
>         </native2ascii>
>      </target>
>
>
>
>
>
>
> lei.java@gmail.com wrote:
>
> Thanks Radu.
>
> You mean all values of keys need translating using native2ascii. If yes, the
> properties files will not be readable. Can you please clarify that?
>
> Thanks again.
>
> On Dec 18, 2007 1:08 PM, Radu Solomon <rsolomon@n-able.com> <rsolomon@n-able.com>
wrote:
>
>
>
> you need to do a native2ascii on your application resources and then it
> will work. We had same problem with our application.
>
> *Radu Solomon*
>
> /Software Developer/
> N-able Technologies(R)
> 450 March Road, 4th Floor
> Ottawa, Ontario
>
> K2K 3K2
> www.n-able.com <http://www.n-able.com/> <http://www.n-able.com/>
> rsolomon@n-able.com <mailto:rsolomon@n-able.com> <rsolomon@n-able.com>
> *Tel:* (613) 592-6676 x 301
>
> *Toll Free:* 877-655-4689 x 301
>
> *Fax:* (613) 592-2242
>
>
> lei.java@gmail.com wrote:
>
>
> Hi all,
>
> I have a French bundle with this key/value inside:
> button.close=Fermer la fen�tre
>
> In a JSP, <s:property value="getText('button.close')"/> outputs Fermer
>
>
> la
>
>
> fenêtre. The letter "�" is not rendered properly. I use Eclipse and
>
>
> UTF-8
>  > for properties file encoding.
>
>
> I guess something is wrong with properties file editor setting. What
>
>
> editor
>
>
> should I set for the properties file in eclipse?
>
> Could anyone give a hand?
>
> Thanks.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message