Are you really sure that you .properties file is written using an UTF-8 encoding and nothing fancy like a windows encoding?
Regards, Jérôme. On 1/31/06, Brian Long <[EMAIL PROTECTED]> wrote: > > Martin, > > No joy, same problem, € becomes ? and "€" becomes "&euro;" . . . > > Looks like I'll be using EURO (so long as tapestry doesn't try convert > it into YEN)! > > Thanks, Brian. > > On 1/31/06, Martin Strand <[EMAIL PROTECTED]> wrote: > > Perhaps you need to specify the *.properties file encoding. Put this in > > your *.application config: > > > > <meta key="org.apache.tapestry.properties-encoding" value="UTF-8"/> > > > > --Martin > > > > On Tue, 31 Jan 2006 16:00:07 +0100, Brian Long <[EMAIL PROTECTED] > > > > wrote: > > > > > Gary, > > > same problem really, when tapestry sees "€" in the > .propertiesfile > > > it converts the ampersand to & so I get something like > thefollowing > > > 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 intowhatever > > > encoding format it's using. > > > /Brian. > > > On 1/31/06, Gary Pampara <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]> > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >>> Sorry thats: €>> > > > ---------------------------------------------------------------------> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]> > > > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > -- MailScannerEmail Virus ScannerEntcap ABwww.entcap.se > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
