Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What text editor (for windows or linux) can display the byte order mark in text files?

share|improve this question

migrated from Jan 15 '10 at 19:48

This question came from our site for system and network administrators.

I believe this belongs to superuser. – ℝaphink Jan 13 '10 at 10:10
Why do you want to know, and why do you want to use a text editor? This might be a place where a hex-editor might be more appropriate. – Zoredache Jan 13 '10 at 23:15

VIM allows you to verify the presence and change the BOM in a file, but the BOM is not "displayed", since it is not part of the intended text contents of the file. Check the options 'bomb' and 'fileencoding'.

:help 'bomb'
:help 'fileencoding'
share|improve this answer

You must log in to answer this question.