Hello,

I am using a web services that returns a list of data with html escape value like  

"Assemblée de la Commission Communautaire Française" 

lé --> é

ç --< ç

how do display these value in an expression ? 

Thanks

luc



Hi,

If I understand your question, you should use the EncodeHtml().


You may use one of the built-in functions to perform the required character escaping:
Examples:


  • EncodeHtml (text) - Returns a string with all the reserved characters translated in order to be used in HTML literals.
  • EncodeSql (text) - Returns a string with special characters translated in order to be used in SQL literals.

These functions are available in the Expression Editor under Functions -> Text.

Cheers



Edit:

Extra info: Expression Widget explains this. To understand further, I suggest: EncodeHtml


Hello 

no this the inverse that I need ... 

for exemple I receive the "Latin Small Letter E With Acute" as its Html Entity value "é"  

https://www.codetable.net/decimal/233 

I want to display correctly ie as é

luc

Hi Luc,

in HTMLRenderer there is a DecodeHTML() function.

Cheers



EDIT: You can check too some components from forge like this.

Solution

Miguel Verdasca wrote:

Hi Luc,

in HTMLRenderer there is a DecodeHTML() function.

Cheers



EDIT: You can check too some components from forge like this.

 

 Thanks ! 

Solution