Question Detail

How to remove this html tag � when i am getting multi-byte text in table from database in wordpress ?

4 years ago Views 725 Visit Post Reply

IF you see in example  this sign � is coming with end of the text and I want to remove this sign.

Example - Лампа в вытяжке на кухне ме�, i.e. only 28 chars.

I am using substr() function, but its not working.



Thread Reply


- 4 years ago

You can use this function:


Its working 100% perfectly.