close
標題:

Unicode Txt File 同 Txt File 有什麼分別

發問:

免費註冊體驗

 

此文章來自奇摩知識+如有不便請留言告知

當我把郵件檔轉為文字檔時, 有2個文字檔的選擇 (Unicode Txt File 同 Txt File ). 兩個有什麼分別?

最佳解答:

Good that you ask this question. The simplest answer is that for plain text (ascii) each character is 8 bits (1 byte). If your text file contains A and nothing else, the file size is 1 byte. For unicode, each character is 16 bits or 2 bytes (this is not exactly true, but take it for now). A file containing ABCDE has a size of 12 bytes (the other 2 bytes are the overhead). Ascii text is represented by number 0-255, 65 is A, etc. If you have foreign language or signs not represented by these numbers, ascii cannot display them and that is when we need Unicode. 2007-09-30 12:26:54 補充: 樓上:: 悲情苦瓜::Txt File 怎能看中文?

其他解答:
arrow
arrow

    christi56o4 發表在 痞客邦 留言(0) 人氣()