焦俊艳和焦恩俊是什么关系| 什么叫资本运作| 火龙果有什么好处| 一只脚面肿是什么原因| 中国发明了什么| 热疙瘩用什么药膏| 醉氧是什么意思| 训练有素是什么意思| 食是什么生肖| 伤寒病有什么症状| 医保乙类是什么意思| 7月1号什么星座| 蜂蜜跟什么不能一起吃| 记忆力衰退吃什么药| 经常想吐恶心是什么原因| 金融bp是什么意思| 什么是热量| 黄芪长什么样子的图片| 驼背挂什么科| 痤疮涂什么药膏| 风寒感冒吃什么药好| 墨绿的什么| 着凉肚子疼吃什么药| 椎间盘膨隆是什么意思| 什么时候放开二胎| 什么东西越吃越饿| 葛根是什么东西| 复查肺结节挂什么科| 补充公积金是什么意思| 山药与什么食物相克| 什么千里| pose是什么意思| 吃什么除湿气| 为什么心脏会隐隐作痛| 瘥是什么意思| 肛门痒是什么原因| 腊猪脚炖什么好吃| 整天想睡觉是什么原因| 清热解毒煲什么汤最好| peace什么意思| 白敬亭原名叫什么| 去医院验血挂什么科| 阴道骚痒是什么原因| 18岁属什么| 痔疮是什么原因引起的| 老是干咳什么原因| 拿铁是什么咖啡| 冷鲜肉和新鲜肉有什么区别| 夏天为什么要吃姜| 和珅是什么官| 人为什么会打哈欠| 突然暴瘦是什么原因| 宫颈囊肿是什么| 菜板买什么材质的好| 建军节是什么时候| 车顶放饮料是什么意思| 鳞状上皮内高度病变是什么意思| 住院需要带什么生活用品| 狐臭挂什么科室的号| 疱疹挂号挂什么科室| 大腿骨叫什么骨| 小孩肚脐眼上面疼是什么原因| 投诉医院打什么电话| 绿豆配什么打豆浆最好| edenbo是什么牌子| 罡什么意思| 什么情况需要割包皮| 尿素偏高是什么意思| 卵巢在什么位置示意图| 腹水是什么意思| 腿发软无力是什么原因引起的| 真菌感染吃什么药| 别墅是什么意思| 一什么不什么| 河南有什么特产| 头晕脑胀吃什么药| 什么是网约车| 2021年是属什么年| fast什么意思| 身份证是什么字体| 肺大泡是什么| cr是什么意思| dsd是什么意思| 2008是什么年| 坦诚相待下一句是什么| 谵妄是什么意思| 脑委缩有什么症状| 真菌感染吃什么药| 淋巴结肿大是什么引起的| 此地无银三百两是什么意思| 侍郎是什么官职| 皲裂什么意思| 菩提根是什么| 宫腔镜检查主要查什么| 想入非非什么意思| 指甲黑是什么原因| 胸部有硬块挂什么科| 什么加什么等于粉色| 痰栓是什么意思| 临字五行属什么| 处女座男和什么星座最配| 心口疼吃什么药| jeep是什么意思| 起水泡痒是什么原因| 黄历破屋是什么意思| 92年1月属什么生肖| 外科和内科有什么区别| 胃有灼烧感是什么原因| 张嘴睡觉有什么危害| 胱抑素是什么| 挂妇科门诊都检查什么| 备孕不应该吃什么| 士官是什么级别| 狮子座和什么星座不合| 三班倒是什么意思| 皮肤爱出油是什么原因| 人鱼小姐大结局是什么| 小孩出冷汗是什么原因| 痔疮吃什么食物| 单脱是什么意思| 早醒是什么原因| 肚脐眼左侧是什么器官| 子宫脱垂有什么症状| 挂失补办身份证需要什么| 巨石强森是什么人种| 食道不舒服挂什么科| 三头六臂指什么生肖| 天麻有什么作用与功效| 木字旁的有什么字| 甲鱼什么人不能吃| 内分泌失调是什么症状| 耳机降噪是什么意思| 喉咙里痰多是什么原因| 氯气什么味道| 朱迅是什么民族| 为什么说| 心如所愿的意思是什么| 肺炎吃什么药有效| 多巴胺是什么| 加应子是什么水果| 白细胞偏高有什么危害| 牙龈黑紫色是什么原因| 头汗特别多是什么原因| 98年出生属什么| 马失前蹄下一句是什么| 收到是什么意思| 胎动突然频繁是什么原因| 孕妇吃什么鱼好| 吃深海鱼油有什么好处和坏处| 长痘吃什么水果好| 面条鱼是什么鱼| 结扎对男人有什么伤害| 猫叫什么名字好听| ariel是什么意思| pes是什么材质| 双鱼座的幸运色是什么颜色| 化胡为佛是什么意思| mts是什么单位| 衣衫褴褛是什么意思| 痔疮的表现症状是什么| 糖尿病能喝什么饮料| 胃溃疡吃什么| 牙膏什么牌子好| 双肺纹理增强是什么意思| 幻视是什么意思| rh是什么血型| 白天不咳嗽晚上咳嗽吃什么药| 想吃甜食是身体缺什么| 观音坐莲是什么意思| 什么食物蛋白质含量最高| 补气是什么意思| 1998年属什么生肖| 小米手机最新款是什么型号| 就坡下驴什么意思| 什么移动卡流量多| 小孩吃了就吐是什么原因| 扁桃体炎吃什么药最好效果好| asd什么意思| 13朵玫瑰代表什么意思| 云雾茶是什么茶| 脑控是什么| 江西有什么特产| cream什么意思| 不全骨折是什么意思| 锲而不舍下一句是什么| 苦口婆心是什么意思| 肺有问题会出现什么症状| 什么东西补肾最好| 小水母吃什么| 大地色眼影是什么颜色| 秋葵与什么菜相克| 黄瓜和什么一起炒好吃| 胸闷气短是什么病| 煮黑豆吃有什么功效| 心悸心慌焦虑吃什么药能缓解| 没吃多少东西但肚子很胀是什么| 坐飞机要带什么证件| 为什么不能下午看病人| 比例是什么| 下体有异味是什么原因| 白天看见蛇有什么预兆| 家族史是什么意思| fhr是什么意思| 知己是什么意思| 百家姓第一个姓是什么| 使徒是什么意思| 早晨起床口干口苦是什么原因| 梦见死人了是什么预兆| 男性硬不起来什么原因| 中暑的症状是什么| 天美时手表什么档次| 网球大满贯什么意思| 什么是处方药和非处方药| 经期吃什么排污血最强| 性生活时间短吃什么药| 6541是什么药| 儿童喝蜂蜜水有什么好处和坏处| 什么植物驱蚊| crh是什么意思| 代糖是什么东西| 劣质是什么意思| 码子是什么意思| 一什么凉席| 地主之谊是什么意思| 血管痉挛是什么症状| 火箭军是干什么的| 前戏是什么| 右眼跳什么意思| 心脏痛什么原因| 职场是什么意思| 荔枝有什么寓意| 什么是植物人| 什么是生理期| 孕妇吃榴莲对胎儿有什么好处| 咽炎是什么症状| 恭请是什么意思| 养性是什么意思| 羊水是什么颜色| 2月份生日是什么星座| 妊娠高血压对胎儿有什么影响| 胸闷要做什么检查| 褙子是什么| 寄生是什么意思| 施华洛世奇算什么档次| 1993年五行属什么| 植物有什么| 天井是什么| 心脏大是什么病严重吗| 7月4号是什么星座| 逆流而上是什么意思| 女孩断掌纹代表什么| 中医说的湿气重是什么意思| 闰月鞋买什么颜色| 造影是什么检查| 健康管理是做什么的| 虾不能跟什么一起吃| 公主和郡主有什么区别| 八朵玫瑰花代表什么意思| 什么的雄鸡| 月完念什么| 攻心翻是什么病| 还人是什么意思| 腰闪了是什么症状| 白俄罗斯和俄罗斯有什么区别| 百度Jump to content

新娘头花一般用什么花 选择适合的头花很重要

From Wikipedia, the free encyclopedia
百度 重要的是,绑定微信和支付宝要比开通传统的ETC方便得多。

Diagram of String data in computing. Shows the word "example" with each letter in a separate box. The word "String" is above, referring to the entire sentence. The label "Character" is below and points to an individual box.
A string of seven characters

In computing and telecommunications, a character is the encoded representation of a natural language character (including letter, numeral and punctuation), whitespace (space or tab), or a control character (controls computer hardware that consumes character-based data). A sequence of characters is called a string.

Some character encoding systems represent each character using a fixed number of bits whereas other systems use varying sizes. Various fixed-length sizes were used for now obsolete systems such as the six-bit character code,[1][2] the five-bit Baudot code and even 4-bit systems (with only 16 possible values).[3] The more modern ASCII system uses the 8-bit byte for each character. Today, the Unicode-based UTF-8 encoding uses a varying number of byte-sized code units to define a code point which combine to encode a character.

Terminology

[edit]

Character

[edit]

In general, a character is a symbol (such as a letter or number) that represents information, and in the context of computing is a representation of such a symbol that may be accepted by a computer.[4] A character implies an encoding of information; often as defined by a standard such as ANSI or Unicode.

Character set

[edit]

A character set identifies a repertoire of characters that are each mapped to a unique numeric value.

Glyph

[edit]

Glyph describes a particular visual appearance of a character. Many computer fonts consist of glyphs that are indexed by the numerical code of the corresponding character.

With the advent and widespread acceptance of Unicode[5] and bit-agnostic coded character sets,[clarification needed] a character is increasingly being seen as a unit of information, independent of any particular visual manifestation. The ISO/IEC 10646 (Unicode) International Standard defines character, or abstract character as "a member of a set of elements used for the organization, control, or representation of data". Unicode's definition supplements this with explanatory notes that encourage the reader to differentiate between characters, graphemes, and glyphs, among other things. Such differentiation is an instance of the wider theme of the separation of presentation and content.

For example, the Hebrew letter aleph ("?") is often used by mathematicians to denote certain kinds of infinity (?), but it is also used in ordinary Hebrew text. In Unicode, these two uses are considered different characters, and have two different Unicode numerical identifiers ("code points"), though they may be rendered identically. Conversely, the Chinese logogram for water ("水") may have a slightly different appearance in Japanese texts than it does in Chinese texts, and local typefaces may reflect this. But nonetheless in Unicode they are considered the same character, and share the same code point.

The Unicode standard differentiates between these abstract characters and coded characters or encoded characters that have been paired with numeric codes that facilitate their representation in computers.

Combining character

[edit]

The combining character is addressed by Unicode which allocates a code point to each of:

  • 'i?' (U+0069),
  • the combining diaeresis (U+0308), and
  • '?' (U+00EF).

This makes it possible to code the middle character of the word 'na?ve' either as a single character '?' or as a combination of the character 'i?' with the combining diaeresis: (U+0069 LATIN SMALL LETTER I + U+0308 COMBINING DIAERESIS); this is also rendered as 'i??'.

char

[edit]

In C, char (short for character) is a data type with size one byte,[6][7] but unlike the defacto size of byte as 8 bits, this use of byte is less specific. Byte is defined to be large enough to contain any member of the "basic execution character set". The number of bits used by a compiler is accessible via the CHAR_BIT macro. By far the most common size is 8 bits, and POSIX requires it to be 8 bits.[8] In modern C standards, char is required to hold UTF-8 code units[6][7] which requires a minimum size of 8 bits.

Since a Unicode code point may require as many as 21 bits.[9] the char type is generally not large enough for every character. Nonetheless, the char type is well-suited for the UTF-8 encoding where each code point requires 1 to 4 bytes.

The fact that a character was historically stored in a single byte has led to the terms "char" and "character" being used interchangeably and this leads to confusion today when multibyte encodings such as UTF-8 are used. Modern POSIX documentation attempts to fix this by defining "character" as a sequence of one or more bytes representing a single graphic symbol or control code, and uses "byte" when referring to char data.[10][11] However it still contains errors such as defining an array of char as a character array (rather than a byte array).[12]

Unicode can be stored in strings of code units that are larger than char; called wide characters. The original C type was called wchar_t. Due to some platforms defining wchar_t as 16 bits and others defining it as 32 bits, current versions provide unambiguous char16_t and char32_t. Even then the objects being stored might not be characters, for instance the variable-length UTF-16 is often stored in arrays of char16_t.

Other languages also have a char type. Many, including C++, use 8-bit bytes like C.[7] Others, such as Java, use 2-byte, wide storage to more directly accommodate UTF-16.

See also

[edit]

References

[edit]
  1. ^ Dreyfus, Phillippe (1958). "System design of the Gamma 60". Managing Requirements Knowledge, International Workshop on, Los Angeles. New York. pp. 130–133. doi:10.1109/AFIPS.1958.32. […] Internal data code is used: Quantitative (numerical) data are coded in a 4-bit decimal code; qualitative (alpha-numerical) data are coded in a 6-bit alphanumerical code. The internal instruction code means that the instructions are coded in straight binary code.
    As to the internal information length, the information quantum is called a "catena," and it is composed of 24 bits representing either 6 decimal digits, or 4 alphanumerical characters. This quantum must contain a multiple of 4 and 6 bits to represent a whole number of decimal or alphanumeric characters. Twenty-four bits was found to be a good compromise between the minimum 12 bits, which would lead to a too-low transfer flow from a parallel readout core memory, and 36 bits or more, which was judged as too large an information quantum. The catena is to be considered as the equivalent of a character in variable word length machines, but it cannot be called so, as it may contain several characters. It is transferred in series to and from the main memory.
    Not wanting to call a "quantum" a word, or a set of characters a letter, (a word is a word, and a quantum is something else), a new word was made, and it was called a "catena." It is an English word and exists in Webster's although it does not in French. Webster's definition of the word catena is, "a connected series;" therefore, a 24-bit information item. The word catena will be used hereafter.
    The internal code, therefore, has been defined. Now what are the external data codes? These depend primarily upon the information handling device involved. The Gamma 60 [fr] is designed to handle information relevant to any binary coded structure. Thus an 80-column punched card is considered as a 960-bit information item; 12 rows multiplied by 80 columns equals 960 possible punches; is stored as an exact image in 960 magnetic cores of the main memory with 2 card columns occupying one catena. […]
  2. ^ Blaauw, Gerrit Anne; Brooks Jr., Frederick Phillips; Buchholz, Werner (1962), "4: Natural Data Units" (PDF), in Buchholz, Werner (ed.), Planning a Computer System – Project Stretch, McGraw-Hill Book Company, Inc. / The Maple Press Company, York, PA., pp. 39–40, LCCN 61-10466, archived (PDF) from the original on 2025-08-05, retrieved 2025-08-05, […] Terms used here to describe the structure imposed by the machine design, in addition to bit, are listed below.
    Byte denotes a group of bits used to encode a character, or the number of bits transmitted in parallel to and from input-output units. A term other than character is used here because a given character may be represented in different applications by more than one code, and different codes may use different numbers of bits (i.e., different byte sizes). In input-output transmission the grouping of bits may be completely arbitrary and have no relation to actual characters. (The term is coined from bite, but respelled to avoid accidental mutation to bit.)
    A word consists of the number of data bits transmitted in parallel from or to memory in one memory cycle. Word size is thus defined as a structural property of the memory. (The term catena was coined for this purpose by the designers of the Bull GAMMA 60 [fr] computer.)
    Block refers to the number of words transmitted to or from an input-output unit in response to a single input-output instruction. Block size is a structural property of an input-output unit; it may have been fixed by the design or left to be varied by the program. […]
  3. ^ "Terms And Abbreviations". MCS-4 Assembly Language Programming Manual - The INTELLEC 4 Microcomputer System Programming Manual (PDF) (Preliminary ed.). Santa Clara, California, US: Intel Corporation. December 1973. pp. v, 2-6. MCS-030-1273-1. Archived (PDF) from the original on 2025-08-05. Retrieved 2025-08-05. […] Bit - The smallest unit of information which can be represented. (A bit may be in one of two states I 0 or 1). […] Byte - A group of 8 contiguous bits occupying a single memory location. […] Character - A group of 4 contiguous bits of data. […] (NB. This Intel 4004 manual uses the term character referring to 4-bit rather than 8-bit data entities. Intel switched to use the more common term nibble for 4-bit entities in their documentation for the succeeding processor 4040 in 1974 already.)
  4. ^ "Definition of CHARACTER". Merriam-Webster. Retrieved 2025-08-05.
  5. ^ Davis, Mark (2025-08-05). "Moving to Unicode 5.1". Google Blog. Retrieved 2025-08-05.
  6. ^ a b "§5.2.4.2.1 Sizes of integer types <limits.h> / §6.2.5 Types / §6.5.3.4 The sizeof and _Alignof operators". ISO/IEC 9899:2018 - Information technology -- Programming languages -- C. {{cite book}}: |website= ignored (help)
  7. ^ a b c "§1.7 The C++ memory model / §5.3.3 Sizeof". ISO/IEC 14882:2011.
  8. ^ "<limits.h>". pubs.opengroup.org. Retrieved 2025-08-05.
  9. ^ "Glossary of Unicode Terms – Code Point". Retrieved 2025-08-05.
  10. ^ "POSIX definition of Character".
  11. ^ "POSIX strlen reference".
  12. ^ "POSIX definition of Character Array".
[edit]
呼吸道感染吃什么药 老炮儿是什么意思啊 味极鲜是什么 正佳广场有什么好玩的 心电图能检查出什么病
什么水果清肝火 全身出虚汗多是什么原因造成的 腰椎间盘突出有什么症状 贱是什么意思 颠三倒四是什么意思
探望病人买什么水果 来事吃什么水果好 同人小说是什么意思 荔枝和什么不能一起吃 什么时候跑步减肥效果最好
什么是棱长 vip是什么意思 燕窝是什么东西做成的 2037年是什么年 川芎有什么功效与作用
代孕什么意思hcv9jop1ns8r.cn 着相什么意思hcv8jop6ns2r.cn 清道夫吃什么chuanglingweilai.com 什么是远视眼hcv8jop7ns6r.cn 杜甫是什么朝代的hcv8jop8ns2r.cn
三天没有大便是什么原因hcv8jop1ns9r.cn 百福骈臻是什么意思hcv8jop1ns5r.cn 怀孕天数从什么时候算起hcv8jop8ns2r.cn 阿尼是什么意思hcv9jop0ns6r.cn 胆固醇高是什么引起的hcv9jop4ns9r.cn
飞的第一笔是什么hcv7jop9ns4r.cn 紫外线过敏什么症状hcv8jop9ns2r.cn 皮蛋为什么能治口腔溃疡hcv9jop1ns4r.cn 肾素高说明什么hcv8jop7ns9r.cn 包装饮用水是什么水hcv8jop5ns8r.cn
飞秒是什么hcv9jop4ns1r.cn 今天是什么日子hcv8jop2ns2r.cn 梦见自己相亲是什么意思hcv8jop4ns3r.cn 豆腐干炒什么好吃hcv7jop4ns8r.cn 口咸是什么原因引起的hcv7jop6ns0r.cn
百度