Hi,

Did you try to use \uXXXX unicode values instead of special characters ?
I had problems to display the 'copyright' character and the unicode in property files worked fine.

Thomas

Garner, Shawn wrote:
Try HTML escape sequences, like > for >
      
This doesn't work either.  I just prints > and < and still doesn't
resolve them as html.

I used html markup in this file in struts just fine.
All our text is in the properties file.  How els are you suppose to bold and
italicize certain words.  Seems painful to have to make a seperate key for
this purpose.

Shawn

-----Original Message-----
From: Dennis Byrne
To: MyFaces Discussion
Sent: 1/14/2006 4:33 PM
Subject: Re: ApplicationResources.properties

Try HTML escape sequences, like > for >

... although .properties files were really not designed for HTML .

Dennis Byrne

  
-----Original Message-----
From: Garner, Shawn [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 14, 2006 04:02 PM
To: '[email protected]'
Subject: ApplicationResources.properties

I have my resource bundle keys in an ApplicationResources.properties
    
file.
  
However there are some keys in there that have html in them.
Instead of resolving the html it is just printing it on the page as
    
text.
  
How do I fix this?

Thanks,
Shawn

***********************************************************************
    
***** 
  
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
***********************************************************************
    
*****
  


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************
---------------------------------------------------------------------------------------
Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
Aucun virus connu a ce jour par nos services n'a ete detecte.





  


-- 
Thomas Gaudin, J2EE freelance -- http://www.thogau.net

Reply via email to