{"id":96211,"date":"2020-10-09T07:42:43","date_gmt":"2020-10-09T05:42:43","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/pochemu-v-ebcdic-bukvy-idut-ne-podryad"},"modified":"2020-10-09T07:42:43","modified_gmt":"2020-10-09T05:42:43","slug":"pochemu-v-ebcdic-bukvy-idut-ne-podryad","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/pochemu-v-ebcdic-bukvy-idut-ne-podryad","title":{"rendered":"Why don't the letters in EBCDIC appear consecutively?","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>The ASCII standard was adopted in 1963, and it's unlikely that anyone now uses a character set where the first 128 characters differ from ASCII. However, until the end of the last century, EBCDIC was widely used \u2014 the standard encoding for IBM mainframes and their Soviet clones, ES EVM. EBCDIC remains the primary encoding in z\/OS \u2014 the standard OS for modern IBM Z mainframes.<\/p>\n<p>What immediately stands out when looking at EBCDIC is that the letters do not appear consecutively: between <code>I<\/code> and <code>J<\/code> and between <code>R<\/code> and <code>S<\/code> there are unused positions (on ES EVM, these gaps <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%94%D0%9A%D0%9E%D0%98\">were filled with<\/a><\/noindex> Cyrillic symbols). Who could think of encoding letters with unequal gaps between adjacent letters?<\/p>\n<p><img decoding=\"async\" alt=\"Why don&#039;t the letters in EBCDIC appear consecutively?\" src=\"\/wp-content\/uploads\/2020\/10\/22c1cf32906b9b2f49bef5d6aa4dba77.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>The name EBCDIC (\"Extended BCDIC\") hints that this encoding, unlike ASCII, was not created from scratch but was based on the six-bit BCDIC code that had been used since <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/BCD_(character_encoding)#IBM_704_BCD_code\">IBM 704<\/a><\/noindex> (1954):<\/p>\n<p><img decoding=\"async\" alt=\"Why don&#039;t the letters in EBCDIC appear consecutively?\" src=\"\/wp-content\/uploads\/2020\/10\/e7f6ef41a4b3000d8f1779fd86f5d0a4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>There is no direct backward compatibility: a convenient feature of BCDIC, lost in the transition to EBCDIC, was that digits <code>0<\/code>\u2014<code>9<\/code> correspond to codes 0-9. Nevertheless, there were already gaps of seven codes between <code>I<\/code> and <code>J<\/code> and eight codes between <code>R<\/code> and <code>S<\/code> in BCDIC. So where did they come from?<\/p>\n<p>The history of (E)BCDIC begins simultaneously with the history of IBM \u2014 long before electronic computers. IBM was formed from the merger of four companies, the most technologically advanced among them being the \"Tabulating Machine Company,\" founded in 1896 by Herman Hollerith \u2014 the inventor <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A2%D0%B0%D0%B1%D1%83%D0%BB%D1%8F%D1%82%D0%BE%D1%80\">tabulator.<\/a><\/noindex>The first tabulators simply counted the number of punch cards processed in certain places; but in 1905, Hollerith began producing <em>decimal<\/em> tabulators. Each card for a decimal tabulator consisted of fields of arbitrary lengths, and the numbers recorded in these fields in the familiar decimal form were summed across the entire deck. The division of the card into fields was determined by connecting wires on the tabulator's switching panel. For example, on this punch card belonging to Hollerith, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.loc.gov\/resource\/mcc.023\/?sp=8\">held<\/a><\/noindex> at the Library of Congress, the number 23456789012345678 is clearly punched, although it's unclear how it was divided into fields:<\/p>\n<p><img decoding=\"async\" alt=\"Why don&#039;t the letters in EBCDIC appear consecutively?\" src=\"\/wp-content\/uploads\/2020\/10\/d6f3ca57fad235f067efe6ac2ce3427d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>The most observant might notice that Hollerith's card has 12 rows for holes, even though ten are sufficient for digits; and in BCDIC, only 12 out of 16 possible codes are used for each value of the two highest bits.<\/p>\n<p>Of course, this is not a coincidence. Hollerith originally intended the additional rows for \"special marks,\" which were not summed but simply counted \u2014 as in the very first tabulators. (Today we would call them \"bit fields.\") Additionally, among the \"special marks,\" one could set group indicators: if not only final sums but also intermediate ones were required during tabulation, the tabulator would stop when it detected a change in any of the group indicators, and the operator had to write down the intermediate sums from the digital tabulator onto paper, reset the tabulator, and resume tabulation. For example, when calculating accounting balances, a group of cards could correspond to a single date or a single counterparty.<\/p>\n<p>By 1920, when Hollerith had already retired, \"printing tabulators\" had come into use, which connected to the teleprinter and could print intermediate sums themselves without requiring operator intervention. The complexity now lay in determining what each printed number referred to. In 1931, IBM decided to designate letters using \"special marks\": a mark in row 12 denoted a letter from <code>A<\/code> up to <code>I<\/code>, in row 11 \u2014 from <code>J<\/code> up to <code>R<\/code>, in row 0 \u2014 from <code>S<\/code> up to <code>Z<\/code>. The new \"alphabetical tabulator\" could print the name of each group of cards along with intermediate sums; meanwhile, an unpunched column became a space between characters. Note that <code>S<\/code> is denoted by the combination of holes 0+2, while the combination 0+1 was initially not used for fear that two holes next to each other in one column could cause mechanical issues in the reader.<\/p>\n<p><img decoding=\"async\" alt=\"Why don&#039;t the letters in EBCDIC appear consecutively?\" src=\"\/wp-content\/uploads\/2020\/10\/288ca9583d25e2fce14145992ef0a511.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>Now the BCDIC table can be viewed from a slightly different angle:<\/p>\n<p><img decoding=\"async\" alt=\"Why don&#039;t the letters in EBCDIC appear consecutively?\" src=\"\/wp-content\/uploads\/2020\/10\/12b8e92a82ad91076ad8d66ae70cecb2.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>Except for the fact that 0 and space have been switched, the higher two bits determine the \"special mark\" that has been punched in the punch card for the corresponding symbol since 1931; the lower four bits determine the digit punched in the main part of the card. Support for characters <code>&amp; - \/<\/code> It was added to IBM tabulators in the 1930s, and the encoding of these characters in BCDIC corresponds to the hole combinations they create. When support for an even larger number of characters was needed, a series of 8 began to be punched as an additional \"special mark\" \u2014 thus, a single column could have up to three holes. This format of punch cards remained virtually unchanged until the end of the century. In the USSR, IBM's encodings for Latin letters and punctuation were retained, while for Cyrillic letters, multiple \"special marks\" were punched in rows 12, 11, and 0 \u2014 not limited to three holes in a single column.<\/p>\n<p>When the IBM 704 computer was created, there was not much thought given to the character encoding for it: they simply used the encoding already in use at that time for punch cards, and only moved the 0 to its place. In 1964, during the transition from BCDIC to EBCDIC, the lower four bits of each character were left unchanged, although the upper bits were slightly shuffled. Thus, the punch card format selected by Hollerith at the beginning of the last century influenced the architecture of all IBM computers, up to and including IBM Z.<\/p>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/521164\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442 ASCII \u0431\u044b\u043b \u043f\u0440\u0438\u043d\u044f\u0442 \u0432 1963, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0440\u044f\u0434 \u043b\u0438 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443, \u043f\u0435\u0440\u0432\u044b\u0435 128 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0438\u0441\u044c \u0431\u044b \u043e\u0442 ASCII. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0432\u0435\u043a\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c EBCDIC \u2014 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0434\u043b\u044f \u043c\u0435\u0439\u043d\u0444\u0440\u0435\u0439\u043c\u043e\u0432 IBM \u0438 \u0438\u0445 \u0441\u043e\u0432\u0435\u0442\u0441\u043a\u0438\u0445 \u043a\u043b\u043e\u043d\u043e\u0432 \u0415\u0421 \u042d\u0412\u041c. EBCDIC \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u0432 z\/OS \u2014 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u041e\u0421 \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043c\u0435\u0439\u043d\u0444\u0440\u0435\u0439\u043c\u043e\u0432 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":96212,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-96211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442 ASCII \u0431\u044b\u043b \u043f\u0440\u0438\u043d\u044f\u0442 \u0432 1963, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0440\u044f\u0434 \u043b\u0438 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443, \u043f\u0435\u0440\u0432\u044b\u0435 128 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0438\u0441\u044c \u0431\u044b \u043e\u0442 ASCII.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/pochemu-v-ebcdic-bukvy-idut-ne-podryad\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u043e\u0447\u0435\u043c\u0443 \u0432 EBCDIC \u0431\u0443\u043a\u0432\u044b \u0438\u0434\u0443\u0442 \u043d\u0435 \u043f\u043e\u0434\u0440\u044f\u0434? | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442 ASCII \u0431\u044b\u043b \u043f\u0440\u0438\u043d\u044f\u0442 \u0432 1963, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0440\u044f\u0434 \u043b\u0438 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443, \u043f\u0435\u0440\u0432\u044b\u0435 128 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0438\u0441\u044c \u0431\u044b \u043e\u0442 ASCII.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/pochemu-v-ebcdic-bukvy-idut-ne-podryad\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-10-09T05:42:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-09T05:42:43+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Why do letters in EBCDIC not follow sequentially? | ProHoster","description":"ASCII standard was adopted in 1963, and it is unlikely that anyone currently uses an encoding where the first 128 characters differ from ASCII.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/pochemu-v-ebcdic-bukvy-idut-ne-podryad","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u043e\u0447\u0435\u043c\u0443 \u0432 EBCDIC \u0431\u0443\u043a\u0432\u044b \u0438\u0434\u0443\u0442 \u043d\u0435 \u043f\u043e\u0434\u0440\u044f\u0434? | ProHoster","og:description":"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442 ASCII \u0431\u044b\u043b \u043f\u0440\u0438\u043d\u044f\u0442 \u0432 1963, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0440\u044f\u0434 \u043b\u0438 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443, \u043f\u0435\u0440\u0432\u044b\u0435 128 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0438\u0441\u044c \u0431\u044b \u043e\u0442 ASCII.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/pochemu-v-ebcdic-bukvy-idut-ne-podryad","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-10-09T05:42:43+00:00","article:modified_time":"2020-10-09T05:42:43+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"96211","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 10:48:22","updated":"2022-10-03 07:13:05","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/96211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=96211"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/96211\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/96212"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=96211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=96211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=96211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}