* @return string converted
*/
function unhtmlentities($text_to_convert) {
- if (!$this->isunicode) {
- return html_entity_decode($text_to_convert, ENT_QUOTES);
- }
- return html_entity_decode_php4($text_to_convert);
+ return html_entity_decode($text_to_convert, ENT_QUOTES, $this->encoding);
}
// ENCRYPTION METHODS ----------------------------------