The character encoding commonly used in microcomputers is ASCII code; ASCII is a computer encoding system based on Latin letters, mainly used to display modern English and other Western European languages; it is the most common information exchange standard. And equivalent to the international standard ISO/IEC 646.
The operating environment of this article: Windows7 system, DELL G3 computer
What is the character encoding commonly used in microcomputers?
In microcomputers, the commonly used character encoding is ASCII code.
ASCII ((American Standard Code for Information Interchange): American Standard Code for Information Interchange) is a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages. It is the most common information exchange standard and is equivalent to the international standard ISO/IEC 646. ASCII was first published as a standardized type in 1967, and was last updated in 1986. So far, a total of 128 characters have been defined.
Expression method
ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters. Standard ASCII code, also called basic ASCII code, uses 7 binary digits (the remaining 1 binary digit is 0) to represent all uppercase and lowercase letters, numbers 0 to 9, punctuation marks, and special controls used in American English. character. Among them:
0~31 and 127 (33 in total) are control characters or special communication characters (the rest are displayable characters), such as control characters: LF (line feed), CR (carriage return), FF ( Page feed), DEL (delete), BS (backspace), BEL (ring), etc.; communication special characters: SOH (head of text), EOT (end of text), ACK (confirmation), etc.; ASCII values are 8, 9 , 10 and 13 are converted to backspace, tab, line feed and carriage return characters respectively. They do not have a specific graphic display, but will have different effects on text display depending on different applications [1] .
32~126 (95 in total) are characters (32 is a space), of which 48~57 are ten Arabic numerals from 0 to 9.
65~90 are 26 uppercase English letters, 97~122 are 26 lowercase English letters, and the rest are some punctuation marks, arithmetic symbols, etc.
Also note that in standard ASCII, its highest bit (b7) is used as a parity bit. The so-called parity check refers to a method used to check whether errors occur during code transmission. It is generally divided into two types: odd check and even check. Odd parity rules: the number of 1's in a byte of the correct code must be an odd number. If it is not an odd number, add 1 to the highest bit b7; even parity rules: the number of 1's in a byte of the correct code must be an even number. , if it is not an even number, add 1 to the highest bit b7.
The last 128 are called extended ASCII codes. Many x86-based systems support the use of extended (or "high") ASCII. Extended ASCII allows the 8th bit of each character to be used to determine an additional 128 special symbol characters, foreign letters, and graphic symbols.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the commonly used character encoding in microcomputers?. For more information, please follow other related articles on the PHP Chinese website!

解决tomcat日志乱码问题的方法有哪些?Tomcat是一个流行的开源JavaServlet容器,广泛用于支持JavaWeb应用程序的部署和运行。然而,有时候在使用Tomcat记录日志时会出现乱码问题,这给开发人员带来了不少困扰。本文将介绍几种解决Tomcat日志乱码问题的方法。调整Tomcat的字符编码设置Tomcat默认使用ISO-8859-1字符编

如何处理Java开发中的字符编码转换异常在Java开发中,字符编码转换是一个常见的问题。当我们在处理文件、网络传输、数据库等操作时,不同的系统或者平台可能会使用不同的字符编码方式,导致字符的解析和转换出现异常。本文将介绍一些常见的字符编码转换异常的原因和解决方案。一、字符编码的基本概念字符编码是用来将字符转换为二进制数据的规则和方法,常见的字符编码方式有AS

PHP中文字符编码处理技巧分享在Web开发中,特别是涉及到中文字符处理的时候,字符编码往往是一个常见的问题。正确处理中文字符编码可以避免出现乱码等问题,提高网站的用户体验。在PHP中,我们可以通过一些技巧来处理中文字符编码,下面将分享一些实用的处理方法和代码示例。1.设置PHP文件编码首先要确保PHP文件本身的编码是正确的,一般推荐使用UTF-8编码。在P

解决Go语言开发中的字符编码问题的方法在Go语言开发过程中,经常会遇到字符编码的问题。特别是在处理数据输入、输出、存储和传输时,正确处理字符编码是非常重要的。本文将介绍一些解决Go语言开发中字符编码问题的方法。首先,在处理字符编码问题之前,我们需要了解Go语言的字符编码标准。Go语言使用的是Unicode字符编码标准,这是一种全球通用的字符编码标准,支持几乎

解决eclipse乱码问题的有效方法,需要具体代码示例近年来,随着软件开发的飞速发展,eclipse作为最受欢迎的集成开发环境之一,为众多开发者提供了便利和高效。然而,使用eclipse时可能会遇到乱码问题,这对于项目开发和代码阅读带来了困扰。本文将介绍一些解决eclipse乱码问题的有效方法,并提供具体代码示例。修改eclipse文件编码设置:在eclip

在计算机中应用最普遍的字符编码是ASCII码。ASCII是基于拉丁字母的一套电脑编码系统,是最通用的信息交换标准,并等同于国际标准ISO/IEC646。

如何正确处理中文编码:Go语言实践指南随着互联网和计算机技术的飞速发展,中文编码也成为了不可忽视的问题。作为一种强大的编程语言,Go语言在处理中文编码方面具有一定的便利性和灵活性。正确处理中文编码对于开发者来说至关重要,今天我们就来探讨一下如何在Go语言中正确处理中文编码,同时给出一些具体的代码示例。使用UTF-8编码在处理中文编码时,Go语言推荐使用UTF

解决Linux终端乱码显示的有效技巧在日常使用Linux系统的过程中,我们可能会遇到终端显示乱码的情况,这不仅影响了我们的工作效率,还给我们带来了困扰。本文将介绍一些解决Linux终端乱码显示问题的有效技巧,并给出具体的代码示例,希望能帮助读者解决这一问题。修改终端字符编码:在终端中输入以下命令,可以修改终端的字符编码为UTF-8,这是目前广泛使用的字符编码

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Chinese version
Chinese version, very easy to use

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version
Visual web development tools
