|
Posted by R. Rajesh Jeba Anbiah on 12/17/72 11:54
Peter.Laganis@gmail.com wrote:
> Hi to all,
>
> I apologize in advance if a similar question was already posted, but I
> didn't find it.
> Here is my problem:
>
> I would like to replace all the special characters ' ¾' with another
> special character '' in a string (retreived by an SQL). After that I
> would like to update the field with the corrected string.
>
> The table and the field are correctly set to UTF-8.
>
> Is there a way? I have tried with the usage of functions such as
> 'str_replace', 'utf8_decode', 'utf8_encode' but without sucess.
Try saving the PHP file in UTF-8.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Navigation:
[Reply to this message]
|