public function set_output_encoding($encoding = 'UTF-8') { $this->output_encoding = (string) $encoding; }