Build my own jars is not an option. In that case I prefer the "& å" in my properties file and use the raw option.
But, I've also started to wonder if I really need this - if I use utf-8 all the way I wouldn't need to use å ? On 11/6/06, Craig St Jean <[EMAIL PROTECTED]> wrote:
Maybe we need additional support in the MarkupCharacterTranslator? I'm very new to Tapestry so I of course cannot make this decision, but it would solve this issue and any possible others that are similar. Anyone here familiar with the steps required to modify this class? I'm not familiar with how source modifications go here. Possibly an e-mail to the dev mailing list with the code for the patch? Malin, in the mean time (a bad solution) you could modify the ENTITIES in the MarkupCharacterTranslator and rebuild your tapestry jars. Again I stress this is not a good solution as your patch would need to be applied on every update and you would need your own jars for every server, however possibly as a temporary solution? On Nov 6, 2006, at 2:03 AM, Malin Ljungh wrote: > Thank you Nick. I've read the docs, and I think I've understand it. > Maybe > I've missed something? > > The thing is: > If I have a message like this: "& å" > it will translate it to "& å" > or, with the raw="true" option I will get "& å" > > But! What I want (as output) is this: "& å" > As I see it, to get this, I need to put "& å" in my > properties > file and use the raw option. > But I would rather put "& å" in my properties file... but that's not > possible? > > Malin > > On 11/6/06, Nick Westgate <[EMAIL PROTECTED]> wrote: >> >> Hi Malin. >> >> Malin Ljungh wrote: >> > Craig, I've tried it... unfortunately it does replace å >> with the >> > &aring; >> >> Of course it does. Otherwise your messages might contain >> unintentional >> HTML. >> >> It's always a good idea to read the docs first: >> >> http://tapestry.apache.org/tapestry4.1/usersguide/ >> template.html#Localization >> >> The <span> shortcut has a raw="true" option, just like @Insert. >> >> Cheers, >> Nick. >> >> --------------------------------------------------------------------- >> 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]
