I have a php script, which displays records from the database. It has french characters also.
Now there is a textbox in front of each record, I can edit the order of each record and click on a save button. this calls an ajax function which replaces the whole div with the updated order of records.
Now the problem is that initially the records are displaying fine, but when the same thing is written after the ajax function is called using the innerhtml , then the french characters gets distorted and some squares are coming. also there is a radiobutton which opens a lightview window after replacing the div using innerhtml, the popup also does not come
hope i get an answer soon
thanks to all in advance !
<td><div align="center"><a href="add_news.php?nid=<?= $nrow->nid ;?>" class="lightview" title=":: :: autosize: true, width: 760, height: 630">
<input type="radio" name="rdfid" id="rdfid[<?= $nrow->nid ;?>]" />
<?= htmlentities(stripslashes($nrow->title), ENT_QUOTES, 'UTF-8');?>