handle width and 0 flag for %c as well