You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by nquirynen <na...@pensionarchitects.be> on 2012/02/28 11:40:50 UTC
Percent sign in message properties file
Hi all,
In a .properties file of a page I have:
test=%
I just want to show the percent symbol, but then I get this error:
org.apache.tapestry5.ioc.internal.util.TapestryException
Conversion = '%'
I have tried different things like with as results:
Change properties file to UTF8, unicode escape (\u00AE) --> same error
HTML code (%) --> '%'
Double the percent sign --> '%%'
So how can I just get 1 percent character from my message file in Tapestry?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Percent-sign-in-message-properties-file-tp5521448p5521448.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Percent sign in message properties file
Posted by Shing Hing Man <ma...@yahoo.com>.
It is rather strange.
It works for me with encoding UTF-8. I am using Tapestry 5.3.
Shing
________________________________
From: nquirynen <na...@pensionarchitects.be>
To: users@tapestry.apache.org
Sent: Tuesday, February 28, 2012 10:40 AM
Subject: Percent sign in message properties file
Hi all,
In a .properties file of a page I have:
test=%
I just want to show the percent symbol, but then I get this error:
org.apache.tapestry5.ioc.internal.util.TapestryException
Conversion = '%'
I have tried different things like with as results:
Change properties file to UTF8, unicode escape (\u00AE) --> same error
HTML code (%) --> '%'
Double the percent sign --> '%%'
So how can I just get 1 percent character from my message file in Tapestry?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Percent-sign-in-message-properties-file-tp5521448p5521448.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org