public function __construct() { $this->setAutomaticInstallation(true); $this->setUpdatePlan(new LogUpdatePlan()); $this->setDataBackendContainer(new FileDataBackendContainer()); $encoding = null; try { $encoding = Encoding::getInstance("UTF-8"); } catch (UnsupportedEncodingException $e) { trigger_error("UTF-8 is not supported; bav is falling back to ISO-8859-15", E_WARNING); $encoding = Encoding::getInstance("ISO-8859-15"); } $this->setEncoding($encoding); }