moved decode_codepoint, fixed requires