str_replace('Ê','',$line);
Ain’t working. Is there some special string that represents that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to consider the encoding of the string you want to manipulate. If that’s not encoded with the same character encoding as the file you declared that string above in is, you need to convert between both encodings.
The most common error is that either the data or the file is encoded in UTF-8 and the other in ISO 8859-1.