1. Home
  2. /
  3. Developer Guide
  4. /
  5. JavaScript Library
  6. /
  7. 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? No Yes

How can we help?