/** * Returns the default mail charset. * * @return string */ protected function getDefaultCharset() { return $this->view->getEncoding(); }
/** * Test set/getEncoding() * @group ZF-8715 */ public function testSetGetEncoding() { $view = new Zend_View(); $this->assertEquals('UTF-8', $view->getEncoding()); $view->setEncoding('ISO-8859-1'); $this->assertEquals('ISO-8859-1', $view->getEncoding()); }
/** * Sets the encoding used in outputting renders. * * @param string $encoding The encoding to use. * * @return void */ public function setEncoding($encoding) { parent::setEncoding($encoding); $this->_engine->setEncoding(parent::getEncoding()); }