Skip to content

Instantly share code, notes, and snippets.

@JamoCA
Last active November 12, 2022 06:58
Show Gist options
  • Save JamoCA/42c3be286185aff0476d5888f0a819ff to your computer and use it in GitHub Desktop.
Save JamoCA/42c3be286185aff0476d5888f0a819ff to your computer and use it in GitHub Desktop.
Whitespace characters: control spaces, invisible spaces, zero-width spaces (2019-10-18)
{
"SpaceData": {
"SOH": {
"name": "Start of Heading",
"d": 1,
"h": "0001",
"tags": "space,unsafe"
},
"STX": {
"name": "Start of Text",
"d": 2,
"h": "0002",
"tags": "space,unsafe"
},
"ETX": {
"name": "End of Text",
"d": 3,
"h": "0003",
"tags": "space,unsafe"
},
"EOT": {
"name": "End of Transmission",
"d": 4,
"h": "0004",
"tags": "space,unsafe"
},
"ENQ": {
"name": "Enquiry",
"d": 5,
"h": "0005",
"tags": "space,unsafe"
},
"ACK": {
"name": "Acknowledgment",
"d": 6,
"h": "0006",
"tags": "space,unsafe"
},
"BEL": {
"name": "Bell",
"d": 7,
"h": "0007",
"tags": "space,unsafe"
},
"BS": {
"name": "Back Space",
"d": 8,
"h": "0008",
"tags": "space,unsafe"
},
"HT": {
"name": "Horizontal Tab",
"d": 9,
"h": "0009",
"tags": "space,unsafe"
},
"LF": {
"name": "Line Feed",
"d": 10,
"h": "000A",
"tags": "space,safe"
},
"VT": {
"name": "Vertical Tab",
"d": 11,
"h": "000B",
"tags": "space,unsafe"
},
"FF": {
"name": "Form Feed",
"d": 12,
"h": "000C",
"tags": "space,unsafe"
},
"CR": {
"name": "Carriage Return",
"d": 13,
"h": "000D",
"tags": "space,safe"
},
"SO": {
"name": "Shift Out / X-On",
"d": 14,
"h": "000E",
"tags": "space,unsafe"
},
"SI": {
"name": "Shift In / X-Off",
"d": 15,
"h": "000F",
"tags": "space,unsafe"
},
"DLE": {
"name": "Data Line Escape",
"d": 16,
"h": "0010",
"tags": "space,unsafe"
},
"DC1": {
"name": "Device Control 1 (oft. XON)",
"d": 17,
"h": "0011",
"tags": "space,unsafe"
},
"DC2": {
"name": "Device Control 2",
"d": 18,
"h": "0012",
"tags": "space,unsafe"
},
"DC3": {
"name": "Device Control 3 (oft. XOFF)",
"d": 19,
"h": "0013",
"tags": "space,unsafe"
},
"DC4": {
"name": "Device Control 4",
"d": 20,
"h": "0014",
"tags": "space,unsafe"
},
"NAK": {
"name": "Negative Acknowledgement",
"d": 21,
"h": "0015",
"tags": "space,unsafe"
},
"SYN": {
"name": "Synchronous Idle",
"d": 22,
"h": "0016",
"tags": "space,unsafe"
},
"ETB": {
"name": "End of Transmit Block",
"d": 23,
"h": "0017",
"tags": "space,unsafe"
},
"CAN": {
"name": "Cancel",
"d": 24,
"h": "0018",
"tags": "space,unsafe"
},
"EM": {
"name": "End of Medium",
"d": 25,
"h": "0019",
"tags": "space,unsafe"
},
"SUB": {
"name": "Substitute",
"d": 26,
"h": "001A",
"tags": "space,unsafe"
},
"ESC": {
"name": "Escape",
"d": 27,
"h": "001B",
"tags": "space,unsafe"
},
"FS": {
"name": "File Separator",
"d": 28,
"h": "001C",
"tags": "space,unsafe"
},
"GS": {
"name": "Group Separator",
"d": 29,
"h": "001D",
"tags": "space,unsafe"
},
"RS": {
"name": "Record Separator",
"d": 30,
"h": "001E",
"tags": "space,unsafe"
},
"US": {
"name": "Unit Separator",
"d": 31,
"h": "001F",
"tags": "space,unsafe"
},
"SP": {
"name": "Space",
"d": 32,
"h": "0020",
"tags": "space,safe"
},
"NEL": {
"name": "next line",
"d": 133,
"h": "0085",
"tags": "space,unsafe"
},
"NBSP": {
"name": "no-breaking space",
"d": 160,
"h": "00A0",
"tags": "space,unsafe"
},
"OGHAM": {
"name": "OGHAM Space Mark",
"d": 5760,
"h": "1680",
"tags": "space,unsafe"
},
"MONGOLIAN": {
"name": "Mongolian Vowel Separator",
"d": 6158,
"h": "180E",
"tags": "space,unsafe"
},
"ENQUAD": {
"name": "EN Quad",
"d": 8192,
"h": "2000",
"tags": "space,unsafe"
},
"EMQUAD": {
"name": "EM Quad",
"d": 8193,
"h": "2001",
"tags": "space,unsafe"
},
"ENSP": {
"name": "EN Space",
"d": 8194,
"h": "2002",
"tags": "space,unsafe"
},
"EMSP": {
"name": "EM Space",
"d": 8195,
"h": "2003",
"tags": "space,unsafe"
},
"THREE-PER-EM SPACE": {
"name": "Thick Space",
"d": 8196,
"h": "2004",
"tags": "space,unsafe"
},
"FOUR-PER-EM SPACE": {
"name": "Mid Space",
"d": 8197,
"h": "2005",
"tags": "space,unsafe"
},
"SIX-PER-EM SPACE": {
"name": "Six-per-EM Space",
"d": 8198,
"h": "2006",
"tags": "space,unsafe"
},
"FGMSP": {
"name": "Figure Space",
"d": 8199,
"h": "2007",
"tags": "space,unsafe"
},
"PUNSP": {
"name": "Punctuation Space",
"d": 8200,
"h": "2008",
"tags": "space,unsafe"
},
"THINSPACE": {
"name": "Thin Space",
"d": 8201,
"h": "2009",
"tags": "space,unsafe"
},
"HAIRSPACE": {
"name": "Hair Space",
"d": 8202,
"h": "200A",
"tags": "space,unsafe"
},
"ZWSP": {
"name": "zero-width space",
"d": 8203,
"h": "200B",
"tags": "space,unsafe"
},
"ZWNJ": {
"name": "zero-width non-joiner",
"d": 8204,
"h": "200C",
"tags": "join,unsafe"
},
"ZWJ": {
"name": "zero-width joiner",
"d": 8205,
"h": "200D",
"tags": "join,unsafe"
},
"LRM": {
"name": "left-to-right mark",
"d": 8206,
"h": "200E",
"tags": "space,unsafe"
},
"RLM": {
"name": "right-to-left mark",
"d": 8207,
"h": "200F",
"tags": "space,unsafe"
},
"WJ": {
"name": "Word Joiner",
"d": 8288,
"h": "2060",
"tags": "join,unsafe"
},
"LINSEP": {
"name": "Line Separator",
"d": 8232,
"h": "2028",
"tags": "space,unsafe"
},
"PARSEP": {
"name": "Paragraph Separator",
"d": 8233,
"h": "2029",
"tags": "space,unsafe"
},
"NNBSP": {
"name": "Narrow No-Break Space",
"d": 8239,
"h": "202F",
"tags": "space,unsafe"
},
"MMASP": {
"name": "Medium Mathematical Space",
"d": 8287,
"h": "205F",
"tags": "space,unsafe"
},
"SMSP": {
"name": "Symbol for Space",
"d": 9248,
"h": "2420",
"tags": "space,unsafe"
},
"BLANK": {
"name": "Blank Symbol",
"d": 9250,
"h": "2422",
"tags": "space,unsafe"
},
"OPENBOX": {
"name": "Open Box",
"d": 9251,
"h": "2423",
"tags": "space,unsafe"
},
"BB": {
"name": "Braille blank pattern",
"d": 10240,
"h": "2800",
"tags": "space,unsafe"
},
"IDSP": {
"name": "Ideographic Space",
"d": 12288,
"h": "3000",
"tags": "space,unsafe"
},
"BOM": {
"name": "Zero Width No-Break Space (AKA Byte Order Mark)",
"d": 65279,
"h": "FEFF",
"tags": "join,unsafe"
},
"FWDZ": {
"name": "Full-Width Digit Zero",
"d": 65296,
"h": "FF10",
"tags": "space,unsafe"
}
}
}
@CrusherHacx
Copy link

threat

@JamoCA
Copy link
Author

JamoCA commented Jan 24, 2020

??? What do you mean by "threat"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment