Hello. I have a request for some PHP file. The script in this file prints some data, for example:
printf("E1"); printf("OK.%d", $id);//например OK.342 And I have a client with ++ WinHttp that can get a response from the script. Unfortunately, the answer is not "E1", instead it comes
"п»їE1" "п»їOK.342" I have no idea why this is happening. Also, I wrote a PHP test script that gets "E1" without this garbage. Can someone help sort out?
upd. I tried to change the encoding of the PHP file. No change except UTF-8:
"п»їп»їE1" And no difference with UTF-8 (w / o BOM) and ANSI
cat myfile.php. - user6550