Original Message:
Sent: 03-25-2024 20:59
From: Hortion Gilles
Subject: Converting special characters in json data
Hi Nicolas,
Try to transform unicode char to xml entity :
\u00e9 -> &#xu00e9;
en use $string to get ascii character :
$string(« é » ) -> è
Gilles.
------------------------------
Hortion Gilles
Dedalus Healthcare France
Artigues Pres Bordeaux FR
Original Message:
Sent: 03-25-2024 10:30
From: Nicolas Colmart
Subject: Converting special characters in json data
Hi all,
We are receiving data in json structures. For some characters we receive escaped codes such as \uxxxx
Example : \u00E9 for an 'é', \u0027 for an apostrophe, etc
Is there a Uniface function to convert them ?
Thanks for your help
Nicolas
------------------------------
Nicolas Colmart
Self Registered
Nice FR
------------------------------