0

I want to remove  from my file .This is appear from the top of my file.If I remove with preg_replace,remaining ï.I cann't json decode to convert into array.How can I solve it.Please help me,it is very difficult for me now.

This is my file

'  {"status":"1","mobile_user":[{"id":"1","name":"saa","phone_no":"09978784963","activate_code":"","deposit":"0","created":"2015-05-29 00:00:00","updated":"0000-00-00 00:00:00","status":"1"}]}' 
2
  • Seems the file encoding has problems. Can you double check? Commented Jun 15, 2015 at 7:29
  • 1
    See: stackoverflow.com/questions/3255993/… Commented Jun 15, 2015 at 7:41

1 Answer 1

0

save your php file as utf-8 without bom, using notepad++

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.