Unicode Txt File 同 Txt File 有什麼分別

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

回答 (1)

2007-09-30 8:16 pm
✔ 最佳答案
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 怎能看中文?


收錄日期: 2021-04-13 13:40:50
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070930000051KK01026

檢視 Wayback Machine 備份