Tweak `escapeAllowedCharacter`

Only `01234567` need to be considered for octal digits, so remove `8` and `9` from the list.