2

I echo "OK" from php file, and when I call url from Linux console gets it like this:

<U+FEFF>
OK

PHP server is also on Linux.

How to get just OK?

Thanks.

el ninho
  • 4,183
  • 15
  • 56
  • 77

1 Answers1

2

You will have to tell your editor not to use BOM. As described in this stackoverflow question.

Community
  • 1
  • 1
PHP Rocks
  • 176
  • 1
  • 3