Home  >  Article  >  Topics  >  What is the difference between word count and character count?

What is the difference between word count and character count?

青灯夜游
青灯夜游Original
2021-04-23 15:57:1265950browse

Difference: "Number of words" refers to the number of Chinese characters; while "Number of characters" refers to the sum of the number of Chinese characters, the number of English letters, the number of numbers and the number of punctuation points. In a word document, a Chinese character or a full-width character (including punctuation) is 2 characters, and a half-width character (or punctuation) and a space are each 1 character.

What is the difference between word count and character count?

The operating environment of this tutorial: Windows 7 system, Microsoft Office word 2019 version, Dell G3 computer.

The difference between the number of words and the number of characters:

1. "Number of words" refers to: the number of Chinese characters.

2. "Number of characters" refers to: the number of Chinese characters, the number of English letters, the number of digits, and the number of punctuation points. Note that one Chinese character is equal to 2 characters.

When the word document says no less than a few thousand words, it refers to the number of words.

A Chinese character or a full-width character (including punctuation) is 2 characters, and a half-width character (or punctuation) and a space are each 1 character.

The method to count the number of words and characters in word is as follows:

1. Open the word file.

What is the difference between word count and character count?

#2. Find and click the "Review" - "Word Count" command in the menu bar. A "Word Count" statistical information box pops up. The statistical information includes: number of pages, number of words, character symbols, number of paragraphs, non-Chinese words, Chinese characters, etc.

What is the difference between word count and character count?

Extended information:

1. Characters refer to letters, numbers, words and symbols used in computers, including: 1 ,2,3,A,B,C,~! ·#¥%……—*()—and so on.

2. In ASCII encoding, one English alphabetic character requires 1 byte to store. In GB 2312 encoding or GBK encoding, one Chinese character storage requires 2 bytes.

3. In UTF-8 encoding, the storage of an English alphabetic character requires 1 byte, and the storage of a Chinese character requires 3 to 4 bytes.

4. In UTF-16 encoding, the storage of an English alphabetic character or a Chinese character requires 2 bytes (some Chinese characters in the Unicode extension area require 4 bytes to store).

5. In UTF-32 encoding, the storage of any character in the world requires 4 bytes.

Recommended tutorial: "Word Tutorial"

The above is the detailed content of What is the difference between word count and character count?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn