Byte order mark: Difference between revisions

Jump to navigation Jump to search
242 bytes removed ,  21 October 2018
Line 84: Line 84:


=== File command way ===
=== File command way ===
Using [https://en.wikipedia.org/wiki/File_(command) file (command)]: {{kbd | key=<nowiki>file filename.txt</nowiki>}} on {{Linux}}, {{Mac}}<ref>[https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/file.1.html file(1) Mac OS X Manual Page]</ref> & Cygwin on {{Win}}
Using [https://en.wikipedia.org/wiki/File_(command) file (command)]: {{kbd | key=<nowiki>file filename.txt</nowiki>}} on {{Linux}}, {{Mac}}<ref>[https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/file.1.html file(1) Mac OS X Manual Page]</ref> & Cygwin on {{Win}}. See details on [[Text file encoding]]
 
 
<table border="1" class="wikitable" >
<tr>
<th>File content</th>
<th>Example result returned by file command</th>
</tr>
 
<tr>
<td>File contains BOM</td>
<td>UTF-8 Unicode (with BOM) text</td>
</tr>
<tr>
 
<td>File NOT contains BOM</td>
<td>UTF-8 Unicode text</td>
</tr>
 
</table>


== References ==
== References ==

Navigation menu