The Unicode code space is the range of code points [0x000000,0x10FFFF] except the UTF-16 surrogate pairs in the range [0xD800,0xDFFF] and non-characters (which end in 0xFFFE or 0xFFFF).
See Implementation
The Unicode code space is the range of code points [0x000000,0x10FFFF] except the UTF-16 surrogate pairs in the range [0xD800,0xDFFF] and non-characters (which end in 0xFFFE or 0xFFFF).