mochiweb_charref
Converts HTML 4 charrefs and entities to codepoints.
Converts HTML 4 charrefs and entities to codepoints.
Functions
charref(B::S) -> integer() | undefined
Convert a decimal charref, hex charref, or html entity to a unicode codepoint, or return undefined on failure. The input should not include an ampersand or semicolon. charref("#38") = 38, charref("#x26") = 38, charref("amp") = 38.