@maschinenlesbar.org/bundesrat-cli
    Preparing search index...

    Function decodeEntities

    • Decode the five predefined XML entities plus numeric (&#NN; / &#xNN;) refs.

      A reference to a UTF-16 surrogate (U+D800–U+DFFF) is not a character. Two in a row, a high one then a low one (��, as a writer that escapes UTF-16 units emits an emoji), are the character they encode; a lone one becomes U+FFFD and is counted in tally, so the text stays well-formed (jq rejects a lone surrogate, and with it the whole output) and the change is never silent. An out-of-range reference is left as it is.

      Parameters

      Returns string