Unicode planes: the 17 ranges of 65,536 codepoints, numbered 0 to 16.
Mojibake.Char.plane/1 returns the plane of a codepoint.
Summary
Functions
The abbreviation of plane, such as "BMP", or nil for the unassigned planes 4 to 13.
The name of plane, or nil for the unassigned planes 4 to 13.
The codepoints of plane.
Types
Functions
The abbreviation of plane, such as "BMP", or nil for the unassigned planes 4 to 13.
Examples
iex> Mojibake.Plane.abbreviation(1)
"SMP"
iex> Mojibake.Plane.abbreviation(15)
"PUA-A"
The name of plane, or nil for the unassigned planes 4 to 13.
Examples
iex> Mojibake.Plane.name(0)
"Basic Multilingual Plane"
iex> Mojibake.Plane.name(5)
nil
The codepoints of plane.
Examples
iex> Mojibake.Plane.range(1)
65536..131071