fix: enhance req.acceptsCharsets method (#6088)