opensubscriber
   Find in this group all groups
 
Unknown more information…

t : tapestry-user@jakarta.apache.org 31 January 2006 • 11:00PM -0500

Re: Euro Symbol Localisation
by Brian Long

REPLY TO AUTHOR
 
REPLY TO GROUP




Gary,

same problem really, when tapestry sees "€" in the .properties
file it converts the ampersand to & so I get something like the
following in my .html page

<h2>The price is &euro;</h2>

same problem for € etc.

So I have to figure out how to escape the € symbol (or the & symbol)
or tapestry will continue to 'help' me by converting them into
whatever encoding format it's using.

/Brian.

On 1/31/06, Gary Pampara <gpampara@cs.u...> wrote:
> Gary Pampara wrote:
> > Brian Long wrote:
> >> Hi,
> >>
> >> I'm using .properties files in WEB-INF for localisation and using
> >> <span key="some_text"/> on the html pages to generate the relevant
> >> text for the users locale. I am however having a small problem at the
> >> moment with the euro symbol €, when this is placed in the .properties
> >> file, it is rendered as ? on the actual html page by tapestry.
> >>
> >> I suspect encoding is the problem, but I'm none the wiser as to how I
> >> would 'escape' this character in the .properties file so that it would
> >> be displayed correctly on the subsequent web page.
> >>
> >> Any feedback, comments or suggestions would be welcome . . .
> >>
> >> /Brian.
> >>
> >
> > Use the correct html. I think it is something like: |€
> >
> > ||Gary|
> > ||
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jaka...
> > For additional commands, e-mail: tapestry-user-help@jaka...
> >
>
> Sorry thats: €
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jaka...
> For additional commands, e-mail: tapestry-user-help@jaka...
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.