Yeah well, the old topic. POSIX allows \0123 and \123 octals in different tools, in printf, depending on %b or other things. We'll just keep it simple and just allow 4 digits. the 0 does not make a difference anyway.
So the users control the program, and the program doesn't control the users.
formerly known as resolveescapes(), it is of central use to numerous programs. This drops a lot of LOC.