needsquoting(c, quotetabs, header)
Decide whether a particular character needs to be quoted.
The quotetabs
flag indicates whether embedded tabs and spaces should be
quoted. Note that line-ending tabs and spaces are always encoded, as per
RFC 1521.