Error – “Missing BOM Encoding”

Background

Hacking around with little HelloWorld applications and ran into a warning.

It reads “Missing BOM encoding“.

Remediation

Notepad++

Still stuck with Notepad++ and so loaded the app and reached for how it is currently encoded.

File Encoding

To check a file’s encoding please do the following :-

  1. Load File
    • Menu Item File/Load
  2. Check Encoding
    • Menu Item Encoding
  3. Please validate right encoding
    • If your desire encoding is was is currently selected, please leave as is
    • Else please switch to desired encoding
  4. Be sure to save your file to effect the change

Image

Image – File – Encoding – UTF-8

notepad++.encoding.bom.utf8.01.20200318.0657PM.PNG

Image – File – Encoding – UTF-8-BOM

notepad++.encoding.bom.utf8.bom.01.20200318.0659PM.PNG

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s