1<?php
2
3require_once(HTML2PS_DIR.'filter.data.encoding.class.php');
4
5class DataFilterUTF8 extends DataFilterEncoding {
6  function _convert(&$data, $encoding) {
7    $converter = Converter::create();
8    $data->set_content($converter->to_utf8($data->get_content(), $encoding));
9  }
10}
11
12?>