常见编码格式 / 字节序(大端 / 小端)/ 带BOM签名

/ 1,787评论 / 13682阅读 / 1点赞

前言

在计算机中,我们如何表示数字,英文字母(A ~ Z / a ~ z),中文,符号(, .?<>),等各种符号呢?


常见的字符编码格式

ASCII

ANSI

GBK / GB-2312 / GB18030

Unicode

UTF


字节序标记

处理单元为多个字节时(一次拿到多个字节进行处理),如果不分字节顺序的话,那么就会出现解读错误。比如我们一次要处理四个字节 12 34 56 78,这四个字节是表示 0x12 34 56 78 还是表示 0x78 56 34 12?不同的解释最终表示的值也不一样。因此就有了大端方式和小端方式之分。

大端方式(Big endian)

小端方式(Little endian)


带BOM(签名)是什么意思?

  1. StevenSen说道:

    pharmacies in mexico that ship to usa: mexican pharmacy – mexican border pharmacies shipping to usa

  2. Michaelsew说道:

    https://canadaph24.pro/# canadian pharmacy prices

  3. reset android说道:

    Your blog post perfectly filled a gap in my research.

  4. Marcelcrolf说道:

    https://canadaph24.pro/# canada pharmacy online

  5. Deneme bonusu veren siteler 2024 bahis siteleri güncel listesi üzerinden deneme bonusu kampanyasına
    ulaşın.

  6. RickyAlage说道:

    canadian online pharmacy reviews canadian pharmacies canadian drug pharmacy

  7. Marcelcrolf说道:

    https://mexicoph24.life/# buying prescription drugs in mexico

  8. RickyAlage说道:

    best online pharmacies in mexico mexican pharmacy buying from online mexican pharmacy

  9. Michaelsew说道:

    http://canadaph24.pro/# cross border pharmacy canada

  10. 2024 quotes说道:

    They say words are powerful, and this collection of positive quotes and affirmations just goes to prove it. Reading them has enhanced my spiritual journey and reinvigorated my mindset.

  11. Marcelcrolf说道:

    http://canadaph24.pro/# precription drugs from canada

  12. StevenSen说道:

    canadian pharmacy king: Prescription Drugs from Canada – canadian pharmacy com

回复 [c++]Windows的函数后面加’A‘或’W‘的含义 | 猫薄荷 取消回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注