Custom ordinal function that converts ascii digits to normal digits