HTML-Entity - Minimal Common

Posted at



You might want to use an automatic replacer (JavaScript),
see here in a more updated article: JavaScript Character Encoder/Replacer For Unicode And Common-Characters To HTML-Entity

{ "\\t":  "	"
, "\
":  "
"
, "\\v":  ""
, " ":   " "
, "&":   "&"
, "'":   "'"
, "*":   "*"
, "\\\\":  "\"
, "•":   "•"
, "ˆ":   "ˆ"
, ":":   ":"
, ",":   ","
, "@":   "@"
, "©":   "©"
, "₪":   "¤"
, "°":   "°"
, "$":   "$"
, "=":   "="
, "'":   "`"
, ">":   ">"
, "^":   "^"
, "{":   "{"
, "[":   "["
, "_":   "_"
, "(":   "("
, "<":   "&lt;"
, "-":   "&minus;"
, "#":   "&num;"
, "%":   "&percnt;"
, ".":   "&period;"
, "+":   "&plus;"
, "?":   "&quest;"
, "\\"":  "&quot;"
, "}":   "&rcub;"
, "®":   "&reg;"
, ")":   "&rpar;"
, "]":   "&rsqb;"
, ";":   "&semi;"
, "~":   "&sim;"
, "\\/":  "&sol;"
, "™":   "&trade;"
, "|":   "&vert;"
}


note that &curren; is a generic markup, and will change in display depending on the operation-system's configuration (usually on M$ Window you will get your currency symbol when copy&pasting it around Notepad and such, for specific currency (EURO, and such..) look in umoji.eladkarako.com





now..
I can modify the bookmarklet at the article I've wrote some time ago,
and make sure my "favorite few" are more verbose-format:
https://icompile.eladkarako.com/_uploads/2016/04/encoding_format.js [1.17KB]