php squares[]appear instead of spaces for excel sheets
I am working on an excel sheet import. It imports the sheet perfectly fine, but it seems like all of the spaces are squares [] empty[]hollow[]squares. I've used $mystring = str_replace('�', ' ', $mystring); to replace it with a space, but it doesn't seem to work. It is interesting that here the square appears as a diamond with a ? in it.
Sure I could remove all of the spaces from the excel sheet, but that wouldn't solve the overall problem.
Any help is much appreciated. I've looked on other forums and found nothing.