public function accept_charset($charset = 'utf-8') { return in_array(strtolower($charset), $this->charsets(), TRUE); }