Page 1 of 1

Input Not UTF-8 Problem

Posted: Wed May 19, 2004 6:31 am
by sasikumar
Hi,

I'm getting the warning message as,

Warning: dumpmem(): xmlEncodeEntitiesReentrant : input not UTF-8.

I had tested the code in the development server it works fine but in live server it showed me the error.

Is there's any solution to avoid this error.

I had used the, the following code for building the TAG.



PHP:--------------------------------------------------------------------------------
<?

$resulttag->new_child("teachnote",
htmlspecialchars($this->mrs->fields['vchTResTeachNote']));

$resulttag->new_child("qdesc",
htmlspecialchars($this->mrs->fields['vchQAQuesDesc']));

$resulttag->new_child("qtype",
htmlspecialchars($this->mrs->fields['vchQAQuesType']));

PHP:--------------------------------------------------------------------------------
?>

Waiting for reply.

Posted: Thu May 27, 2004 2:13 am
by sasikumar
I had solved the UTF-8 problem. We should not convert the entered text while displaying from the database.

Regards
Sasikumar