Text file encoding: Difference between revisions
mNo edit summary |
m Text replacement - "Category:Text file processing" to "Category:String manipulation" Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 63: | Line 63: | ||
<td>UTF-16 BE with BOM</td> | <td>UTF-16 BE with BOM</td> | ||
</tr> | </tr> | ||
<tr> | |||
<td>[https://en.wikipedia.org/wiki/File_(command) file (command)] on {{Mac}} e.g. {{kbd | key=<nowiki>file <filename></nowiki>}}</td> | |||
<td>ISO-8859 text</td> | |||
<td>UTF-8 Unicode text</td> | |||
<td>UTF-8 Unicode (with BOM) text</td> | |||
<td>data</td> | |||
<td>Little-endian UTF-16 Unicode text</td> | |||
<td>data</td> | |||
<td>Big-endian UTF-16 Unicode text</td> | |||
</tr> | |||
<tr> | <tr> | ||
<td>[https://en.wikipedia.org/wiki/File_(command) file (command)] on {{Mac}} e.g. {{kbd | key=<nowiki>file -I <filename></nowiki>}}</td> | <td>[https://en.wikipedia.org/wiki/File_(command) file (command)] on {{Mac}} e.g. {{kbd | key=<nowiki>file -I <filename></nowiki>}}</td> | ||
| Line 73: | Line 85: | ||
<td>text/plain; charset=utf-16be</td> | <td>text/plain; charset=utf-16be</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
| Line 79: | Line 92: | ||
* [http://osxdaily.com/2017/09/02/determine-file-encoding-mac-command-line/ How to Determine File Encoding in Mac OS by Command Line] | * [http://osxdaily.com/2017/09/02/determine-file-encoding-mac-command-line/ How to Determine File Encoding in Mac OS by Command Line] | ||
* [[Byte order mark]] | |||
* [https://en.wikipedia.org/wiki/Byte_order_mark Byte order mark - Wikipedia] | * [https://en.wikipedia.org/wiki/Byte_order_mark Byte order mark - Wikipedia] | ||
* [https://ephrain.net/sublime-text-%E8%AE%93-sublime-text-%E6%94%AF%E6%8F%B4-big5-%E7%B7%A8%E7%A2%BC%E7%9A%84%E6%96%87%E5%AD%97%E6%AA%94/ (Sublime Text) 讓 Sublime Text 支援 BIG5 編碼的文字檔 | EPH 的程式日記] | * [https://ephrain.net/sublime-text-%E8%AE%93-sublime-text-%E6%94%AF%E6%8F%B4-big5-%E7%B7%A8%E7%A2%BC%E7%9A%84%E6%96%87%E5%AD%97%E6%AA%94/ (Sublime Text) 讓 Sublime Text 支援 BIG5 編碼的文字檔 | EPH 的程式日記] | ||
| Line 86: | Line 100: | ||
* [https://en.wikipedia.org/wiki/UTF-16 UTF-16 - Wikipedia] | * [https://en.wikipedia.org/wiki/UTF-16 UTF-16 - Wikipedia] | ||
[[Category:Data Science]] [[Category:Software]] [[Category: | [[Category:Data Science]] [[Category:Software]] [[Category:String manipulation]] | ||