I am trying to use MS Bing API
$data = file_get_contents("http://api.microsofttranslator.com/V2/Ajax.svc/Speak?appId=APPID&text={$text}&language=ja&format=audio/wav");
$data = stripslashes(trim($data));
The data returned has a ' ' character in the first character of the returned string. It is not a space because I trimed it before returning the data.
the ' ' character turned out to be %EF%BB%BF
I wonder why this happen, maybe a bug from Microsoft?
My question is simply, How can I remove this %EF%BB%BF in PHP?
Thank You