1. Home
  2. Developer Guide
  3. JavaScript Library
  4. Decoding text

Decoding text

This function will decode the encoding value of the special characters, ex: & #233; to é.

When getting the values of a record, the special characters values are stored encoded in the database, so it must be decoded before sending them to the REST API functions.

Function: htmlDecode(text value)Usage: htmlDecode(“& #233;”quipe”); or htmlDecode(lead.Description);

Was this article helpful to you? Yes No

How can we help?