Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
LemonWiki共筆
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Text file encoding
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Text file encoding mapping on different softwares 「純文字編碼」在不同軟體的用字 <div style="width:100%; min-height: .01%; overflow-x: auto;"> <table border="1" class="wikitable sortable"> <tr> <th>Software</th> <th>ANSI/Big5</th> <th>UTF-8</th> <th>UTF-8 with BOM</th> <th>UTF-16 LE</th> <th>UTF-16 LE with BOM</th> <th>UTF-16 BE</th> <th>UTF-16 BE with BOM</th> </tr> <tr> <td>[https://www.microsoft.com/en-us/p/notepad-for-windows-10/9nblggh4w20k#activetab=pivot:overviewtab Notepad] (記事本) on {{Win}}</td> <td>ANSI</td> <td></td> <td>UTF-8</td> <td></td> <td>Unicode</td> <td></td> <td>Unicode big endian</td> </tr> <tr> <td>[https://notepad-plus-plus.org/zh/ Notepad++] on {{Win}}</td> <td>ANSI 碼</td> <td>UTF-8 碼</td> <td>UTF-8 碼 (BOM 檔首)</td> <td></td> <td>UCS2 Little Endian 碼 (UCS2 LE BOM)</td> <td></td> <td>UCS2 Big Endian 碼 (UCS2 BE BOM)</td> </tr> <tr> <td>[https://support.apple.com/zh-tw/guide/textedit/welcome/mac TextEdit] (文字編輯) on {{Mac}}</td> <td>繁體中文 (Big5)</td> <td>Unicode (UTF-8)</td> <td></td> <td></td> <td>Unicode (UTF-16)</td> <td></td> <td></td> </tr> <tr> <td>[https://zh-tw.emeditor.com/ EmEditor] on {{Win}}</td> <td>繁體中文 (Big5) (950, big5)</td> <td>UTF-8 不帶簽名</td> <td>UTF-8 帶簽名</td> <td>UTF-16LE 不帶簽名</td> <td>UTF-16LE 帶簽名</td> <td>UTF-16 BE 不帶簽名</td> <td>UTF-16 BE 帶簽名</td> </tr> <tr> <td>[https://www.sublimetext.com/ Sublime text] on {{Win}} & {{Mac}}</td> <td></td> <td>UTF-8</td> <td>UTF-8 with BOM</td> <td>UTF-16 LE</td> <td>UTF-16 LE with BOM</td> <td>UTF-16 BE</td> <td>UTF-16 BE with BOM</td> </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> <td>[https://en.wikipedia.org/wiki/File_(command) file (command)] on {{Mac}} e.g. {{kbd | key=<nowiki>file -I <filename></nowiki>}}</td> <td>text/plain; charset=iso-8859-1</td> <td>text/plain; charset=utf-8</td> <td>text/plain; charset=utf-8</td> <td>application/octet-stream; charset=binary</td> <td>text/plain; charset=utf-16le</td> <td>application/octet-stream; charset=binary</td> <td>text/plain; charset=utf-16be</td> </tr> </table> </div> References * [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://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://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp chcp | Microsoft Docs] * [http://mocha-c-163-com.iteye.com/blog/583064 (Charset) UTF-8, UTF-16, UTF-16LE, UTF-16BE的区别 - 伊苏 - ITeye博客] * [https://en.wikipedia.org/wiki/UTF-8 UTF-8 - Wikipedia] * [https://en.wikipedia.org/wiki/UTF-16 UTF-16 - Wikipedia] [[Category:Data Science]] [[Category:Software]] [[Category:String manipulation]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki共筆:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Kbd
(
edit
)
Template:Mac
(
edit
)
Template:Win
(
edit
)