cleaner codepoint to char and vice versa conversion