public function charsets() { if (count($this->charsets) === 0) { $this->_set_charsets(); } return $this->charsets; }