Help Desk Software

Knowledgebase
Back to HESK.com > HESK Knowledgebase > Knowledgebase

Search help:


How do I save file in UTF-8 without BOM

Solution

The byte order mark (BOM) is a Unicode character that sometimes causes problems in PHP scripts (especially in includes), because it can cause HTTP headers to be sent to the browser prematurely.

 

To make sure your PHP files do not have the BOM, follow these steps:

  1. Download and install this powerful free text editor: Notepad++
     
  2. Open the file you want to verify/fix in Notepad++
     
  3. In the top menu select Encoding > Convert to UTF-8 (option without BOM)
     
  4. Save the file

 

That's it, you should now have a valid file in UTF-8 encoding without the byte order mark.

 
Was this article helpful? yes / no
Related articles How do I translate HESK?
How to customize email subjects
How do I customize HESK text?
How do I allow Iframes in Knowledgebase articles?
How do I add a Favicon to HESK?
Article details
Article ID: 87
Category: How do I...
Rating (Votes): Article rated 3.9/5.0 (7)

 
« Go back

 
Powered by Help Desk Software HESK, brought to you by SysAid

Help Desk Software