Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>ok, i have very superficial knowledge about <code>C#</code>, and none about the <code>.NET</code> API, but intuitively <code>HtmlDecode</code> should decode <a href="http://en.wikipedia.org/wiki/Html_entity#Character_references" rel="nofollow noreferrer"><strong><em>HTML</em> entities</strong></a> (please excuse me if i'm wrong on that one) ... encoding is quite a b*tch, i know, so i will try to clearly explain the differences between what you have, what you tried, and what should work ...</p> <p>the correct <strong><em>HTML</em> entity</strong> would be <code>&amp;#x27</code> and not <code>\x27</code> ... <code>\x27</code> is a hexadecimal <strong><em>ASCII</em> escape-sequence</strong>, as accepted by some <code>JSON</code> decoders and many programming languages, but is <strong>completely unrelated to <em>HTML</em></strong> ... </p> <p>and also, it has nothing to do with <code>JSON</code>, which is the problem ... <strong><a href="http://www.json.org/string.gif" rel="nofollow noreferrer">JSON specs for strings</a> do not allow</strong> hexadecimal <strong><em>ASCII</em> escape-sequences</strong>, but <strong>only <em>Unicode</em> escape-sequences</strong>, which is why the escape sequence is unrecognized and which is why using <code>\u0027</code> instead should work ... now you could blindly replace <code>\x</code> with <code>\u00</code> (this should perfectly work on <strong>valid</strong> <code>JSON</code>, although some comments may get damaged in theory, but who cares ... :D)</p> <p>but personally, if you have access to the source, you should modify it, to make it output <strong>valid</strong> <code>JSON</code> to match the specs ...</p> <p>greetz</p> <p>back2dos</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload