-1

Well I had a problem with include() with blank area. Someone said open it with notepad++ and save as UTF-8 without BOM. Now I can see strange letters at blank area. How can I remove that? And is there a way to create php without BOM in dreamweaver CC?

Prix
  • 18,774
  • 14
  • 65
  • 127
  • 1
    what is "blank area"? – Marcin Orlowski Aug 12 '13 at 21:49
  • [Don't use dreamweaver](http://chat.stackoverflow.com/transcript/11?m=8223283#8223283) to begin with. Also "strange letters" is not very descriptive, care to add a screen shot. Have you tried debugging with a hex editor ? – HamZa Aug 12 '13 at 21:50
  • http://puu.sh/40mvI and I should because I'm using everything on it. – WalkerJetBat Aug 12 '13 at 21:51
  • 1
    I mean a screenshot of the code in dreamweaver to show us those strange letters. Anyways, a hex editor may come handy, there is [HxD](http://mh-nexus.de/en/hxd/) which is pretty good for a free one. – HamZa Aug 12 '13 at 21:53
  • possible duplicate of [How do I remove  from the beginning of a file?](http://stackoverflow.com/questions/3255993/how-do-i-remove-i-from-the-beginning-of-a-file) – Bailey Parker Aug 12 '13 at 22:07

1 Answers1

1

I assume from the question you are using windows ?

http://www.bryntyounce.com/filebomdetector.htm

Is the best BOM remover for windows I have used.

edit:

for mac open up a terminal window and

sed -i .bak '1 s/^\xef\xbb\xbf//' *.php

to stop it happening again

UTF-8 Without BOM?

Community
  • 1
  • 1
exussum
  • 16,939
  • 7
  • 29
  • 61