They are largely auto-generated from text-based tables from the WHATWG encoding standard. Most of them are still not available in the code itself, but they are generating correctly, and exposing them is just a matter of boiler plate.