/**
* Outputs one view
*
* @access public
* @param string Name of the view
* @param array View's data array
*
*/
public function output($view, $data)
{
$ci = &get;_instance();
// Loads the view
$output = $ci->load->view($view, $data, true);
// Set character encoding
$this->output->set_header("text/html; charset=utf-8"); // is
$this->output->set_header("Content-Type: text/html; charset=UTF-8"); // should be
// Final output
$ci->output->set_output($output);
}