Convert to readable format
Hello!
How I can convert html code symbols to readable format:
Керимбай Нурия
Discussion (4)1
Comments
USER>s x="Керимбай Нурия"
USER> w ##class(%CSP.Page).UnescapeHTML(x)
Керимбай Нурия
Thanks a lot Robert!
or
w $zcvt(x,"I","HTML")
Right, this is exactly what UnescapeHTML method does:
ClassMethod UnescapeHTML(in) As %String [ CodeMode = expression, ServerOnly = 1 ]
{
$zconvert(in,"I","HTML")
}