/** * Set output encoding based on platform */ protected function set_output_encode() { $this->_output_encode = WYSIJA::is_windows() ? 'Windows-1252' : 'UTF-8//TRANSLIT//IGNORE'; }