Changed type for UTF-32 codepoints from long to uint_least32_t