Gets a list of charsets acceptable by the client browser in preferable order.
string[]
public function getCharsets() : array { return $this->charsets ??= array_map('strval', array_keys(AcceptHeader::fromString($this->headers ->get('Accept-Charset')) ->all())); }