pub const ZERO_WIDTH_SPACE: (char, &str);
Expand description
§Zero-width space (ZWSP)
char
for the Unicode representation on the ZWSP character
§Representations
Encoding | Code |
---|---|
Unicode | U+200B |
HTML | ​ ​ |
TeX | \hskip0pt |
LaTex | \hspace{0pt} |
groff | \: |
§Prohibited in URLs
ICANN rules prohibit domain names from including non-displayed characters such as zero-width space, and most browsers prohibit their use within domain names, because they can be used to create a homograph attack, where a malicious URL is visually indistinguishable from a legitimate one.