I make simple web server responsing JSON string with PHP.
It had worked well until I changed some php files with Notepad++.
From the moment I changed some php files with Notepad++, my mobile client have made the error
CompanyName.ProjectName.V1.Client.ApiException: Unexpected character encountered while parsing value: . Path ", line 0, position 0.`.
I solved this problem, deleting 'UTF-8 BOM(Binary Order Mask)' at first of php files.
But, as far as I know PHP is script language. Why PHP file encoding influence response data encoding? In Python, same script language like PHP, there is no problem with file encoding.
Because I don't know much about PHP, I wonder why that happened.