[Developers] html entity encoding

Christopher Dummy christopher.dummy at gmail.com
Thu May 1 22:58:14 UTC 2008


I've noticed that the results I get back from mqlread's are HTML
encoded. But when I send the writes via mqlwrite they should not be
encoded, as the items get auto encoded when I retrieve them back. I
would have expected it to be the same going both ways.

Is there a way to turn of the HTML entity encoding? or at least to
find out what entities are being encoded? I've tried searching for the
information but cannot find anything.

I know it at least does ampersand &  -> &amp;  less than  <  ->  &lt;
greater than >  ->  &gt;

e.g.:

"result": {
    "/user/cotton/default_domain/broadcast/summary": "Soft, classic,
hard, and heavy rock &amp; metal, with modern and traditional blues",
    "id": "/guid/9202a8c04000641f8000000006e55e81"
  }

-- 
Christopher Cotton
Zing/Dell Engineer
http://zing.net/


More information about the Developers mailing list