8-bit clean

8-bit clean is an attribute of computer systems, communication channels, and other devices and software, that process 8-bit character encodings without treating any byte as an in-band control code.

History

Until the early 1990s, many programs and data transmission channels were character-oriented and treated some characters, e.g., ETX, as control characters. Others assumed a stream of seven-bit characters, with values between 0 and 127; for example, the ASCII standard used only seven bits per character, avoiding an 8-bit representation in order to save on data transmission costs. On computers and data links using 8-bit bytes this left the top bit of each byte free for use as a parity, flag bit, or meta data control bit. 7-bit systems and data links are unable to directly handle more complex character codes which are commonplace in non-English-speaking countries with larger alphabets.

Binary files of octets cannot be transmitted through 7-bit data channels directly. To work around this, binary-to-text encodings have been devised which use only 7-bit ASCII characters. Some of these encodings are uuencoding, Ascii85, SREC, BinHex, kermit and MIME's Base64. EBCDIC-based systems cannot handle all characters used in UUencoded data. However, the base64 encoding does not have this problem.

SMTP and NNTP 8-bit cleanness

Historically, various media were used to transfer messages, some of them only supporting 7-bit data, so an 8-bit message had high chances to be garbled during transmission in the 20th century. But some implementations really did not care about formal discouraging of 8-bit data and allowed high bit set bytes to pass through. Such implementations are said to be 8-bit clean. In general, a communications protocol is said to be 8-bit clean if it correctly passes through the high bit of each byte in the communication process.

Many early communications protocol standards, such as RFC 780, 788, 821, 2821, 5321 (for SMTP), RFC 977 (for NNTP) and RFC 1056, were designed to work over such "7-bit" communication links. They specifically require the use of ASCII character set "transmitted as an 8-bit byte with the high-order bit cleared to zero" and some of these[1] explicitly restrict all data to 7-bit characters.

For the first few decades of email networks (1971 to the early 1990s), most email messages were plain text in the 7-bit US-ASCII character set.[2]

The RFC 788 definition of SMTP, like its predecessor RFC 780, limits Internet Mail to lines (1000 characters or less) of 7-bit US-ASCII characters.[3][4][5][6]

Later the format of email messages was re-defined in order to support messages that are not entirely US-ASCII text (text messages in character sets other than US-ASCII, and non-text messages, such as audio and images).[6] The header field Content-Transfer-Encoding=binary[a] requires an 8-bit clean transport.

RFC 3977[7] specifies "NNTP operates over any reliable bi-directional 8-bit-wide data stream channel." and changes the character set for commands to UTF-8. However, RFC 5536[8] still limits the character set to ASCII, including RFC 2047[9] and RFC 2231[10] MIME encoding of non-ASCII data.

The Internet community generally adds features by extension, allowing communication in both directions between upgraded machines and not-yet-upgraded machines, rather than declaring formerly standards-compliant legacy software to be "broken" and insisting that all software worldwide be upgraded to the latest standard. The recommended way to take advantage of 8-bit-clean links between machines is to use the ESMTP (RFC 1869) 8BITMIME extension[11][12] for message bodies and the SMTP SMTPUTF8[13] extension for message headers. Despite this, some mail transfer agents, notably Exim and qmail, relay mail to servers that do not advertise 8BITMIME without performing the conversion to 7-bit MIME (typically quoted-printable, "Q-P conversion") required by RFC 6152. This "just-send-8" attitude does not in fact cause problems in practice, since virtually all modern email servers are 8-bit clean.[14]

See also

Notes

  1. ^ The header field Content-Transfer-Encoding=8BIT does not designate 8-bit clean, since CRLF has special significance.

References

  1. ^ RFC 780: Appendix A, RFC 788: 4.5.2., RFC 821: Appendix B, RFC 1056: 4.
  2. ^ John Beck. "Email Explained". 2011.
  3. ^ Jonathan B. Postel (November 1981). "4.5.3. SIZES". SIMPLE MAIL TRANSFER PROTOCOL. doi:10.17487/RFC0788. RFC 788. The maximum total length of a text line including the <CRLF> is 1000 characters (but not counting the leading dot duplicated for transparency).
  4. ^ G. Vaudreuil (February 1993). "2. The Problem". Transition of Internet Mail from Just-Send-8 to 8bit-SMTP/MIME. doi:10.17487/RFC1428. RFC 1428. SMTP as defined in RFC 821 limits the sending of Internet Mail to US-ASCII characters.
  5. ^ Dan Sugalski. "E-mail with Attachments". "The Perl Journal". Summer 1999. "When mail was standardized way back in 1982 with RFC822, ... The only limits placed on the body were the character set (7-bit ASCII) and the maximum line length (1000 characters)."
  6. ^ a b N. Freed; N. Borenstein (November 1996). "Abstract". Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. doi:10.17487/RFC2045. RFC 2045. Multipurpose Internet Mail Extensions, or MIME, redefines the format of messages
  7. ^ C. Feather (October 2006). Network News Transfer Protocol (NNTP). doi:10.17487/RFC3977. RFC 3977.
  8. ^ C. Lindsey; D. Kohn (November 2009). K. Murchison (ed.). Netnews Article Format. doi:10.17487/RFC5536. RFC 5536.
  9. ^ K. Moore (November 1996). MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text. doi:10.17487/RFC2047. RFC 2047.
  10. ^ N. Freed; K. Moore (November 1997). MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations. doi:10.17487/RFC2231. RFC 2231.
  11. ^ Theodore Ts'o; Keith Moore; Mark Crispin (12 September 1994). "8-bit transmission in NNTP". IETF-SMTP mail list. Archived from the original on 20 March 2012. Retrieved 3 April 2010.
  12. ^ "comp.mail.mime FAQ, part 3 'What's ESMTP, and how does it affect MIME?'". Usenet FAQs. 8 August 1997. Archived from the original on 18 January 2012. Retrieved 3 April 2010.
  13. ^ J. Yao; W. Mao (February 2012). SMTP Extension for Internationalized Email. doi:10.17487/RFC8531. RFC 8531.
  14. ^ "The 8BITMIME extension".

Read other articles:

Amanda RighettiRighetti pada Juli 2016LahirAmanda Righetti4 April 1983 (umur 40)St. George, Utah, Amerika SerikatPekerjaanAktrisTahun aktif1995–sekarangSuami/istriJordan Alan ​(m. 2006)​Anak1 Amanda Righetti (lahir 4 April 1983) adalah seorang aktris Amerika. Dia dikenal karena perannya sebagai Grace Van Pelt di The Mentalist, serta perannya di Friday the 13th, The OC dan Colony. Kehidupan pribadi Ia adalah anak bungsu dari delapan bersaudara. Righetti...

 

У Вікіпедії є статті про інших людей із прізвищем Суарес. Франциско Суарес Народився 5 січня 1548[1][2][3]Гранада, Кастильська Корона[4][2]Помер 25 вересня 1617(1617-09-25)[1][2][…] (69 років)Лісабон, Португалія[2]Країна ІспаніяДіяльність богослов, філосо...

 

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Fabaceae – berita · surat kabar · buku · cendekiawan · JSTOR Fabaceae bunga TaksonomiDivisiTracheophytaSubdivisiSpermatophytesKladAngiospermaeKladmesangiospermsKladeudicotsKladcore eudicotsKladSuperrosid...

Sanna Khánh HòaTên đầy đủCâu lạc bộ bóng đá trong nhà Sanna Khánh HòaThành lập2009; 14 năm trước (2009)Giải thể2020; 3 năm trước (2020)Chủ tịch điều hànhNguyễn Thanh HảiNgười quản lýĐặng Đình Khang2019Thứ ba Màu áo sân nhà Màu áo sân khách Câu lạc bộ bóng đá trong nhà Sanna Khánh Hòa là một đội bóng đá trong nhà Việt Nam.Họ đang chơi tại giải bóng đá t...

 

Protein-coding gene in the species Homo sapiens MED24IdentifiersAliasesMED24, ARC100, CRSP100, CRSP4, DRIP100, THRAP4, TRAP100, MED5, mediator complex subunit 24External IDsOMIM: 607000 MGI: 1344385 HomoloGene: 40795 GeneCards: MED24 Gene location (Human)Chr.Chromosome 17 (human)[1]Band17q21.1Start40,019,097 bp[1]End40,061,215 bp[1]Gene location (Mouse)Chr.Chromosome 11 (mouse)[2]Band11 D|11 62.46 cMStart98,595,417 bp[2]End98,620,261 bp[2]R...

 

Halaman ini berisi artikel tentang lukisan. Untuk pertempuran, lihat Pertempuran Jembatan Milvius. Pertempuran Jembatan MilviusSenimanGiulio RomanoTahun1520-1524TipefrescoLokasiIstana Apostolik, Vatican City Pertempuran Jembatan Milvius, atau Pertempuran di Pons Milvius, adalah sebuah fresko di salah satu ruang yang dikenal sebagai Stanze di Raffaello, Istana Apostolik, Vatican. Pertempuran Jembatan Milvius, yang terletak di Sala di Costantino (Balai Konstantinus), dibuat oleh Giulio Romano d...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Februari 2023. James T. CollinsBiografiKelahiran1946 (76/77 tahun)Chicago KegiatanPekerjaanAhli bahasa Profesor (Emeritus) James T. Collins (lahir di Chicago pada tahun 1946), adalah seorang ahli linguistik Amerika Serikat dalam bidang perbandingan bahasa, leksikogr...

 

Japanese professional wrestler Not to be confused with Asuka (wrestler, born 1998) or Lioness Asuka. AsukaAsuka in 2018Birth nameKanako UraiBorn (1981-09-26) September 26, 1981 (age 42)[1][2]Osaka, Japan[1][2]Alma materOsaka University of Arts Junior CollegeProfessional wrestling careerRing name(s)Asuka[3]Kana[2]Kana-hime[4]Princess Kana[5]Ramen Woman[6]Skull Reaper Kana[7]Tomoe Gozen[8]Billed height1...

 

1993 studio album by Radiohead Pablo HoneyStudio album by RadioheadReleased22 February 1993 (1993-02-22)RecordedSeptember–November 1992Studio Chipping Norton, Oxfordshire Courtyard Studios, Oxfordshire Genre Grunge alternative rock Length42:11Label Parlophone Capitol Producer Sean Slade Paul Q. Kolderie Chris Hufford Radiohead chronology Drill(1992) Pablo Honey(1993) My Iron Lung(1994) Singles from Pablo Honey CreepReleased: 21 September 1992 Anyone Can Play GuitarRelease...

English rugby union club, based in Darlington This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Darlington Mowden Park R.F.C. – news · newspapers · books · scholar · JSTOR (May 2014) (Learn how and when to remove this template message) Rugby teamDarlington Mowden ParkFull nameDarlington Mowden Park Rugby Footb...

 

Range of hills in Orange County, California, United States For other uses, see San Joaquin (disambiguation). San Joaquin HillsState Route 73 climbs into the San Joaquin Hills, as seen looking southward from University Hills, IrvineHighest pointPeakTemple Hill (California)Elevation1,050 ft (320 m)Geographylocation of San Joaquin Hills in California[1] CountryUnited StatesStateCaliforniaRegionPeninsular RangesDistrictOrange CountyRange coordinates33°36′42.081″N 117°...

 

Human settlement in WalesMorfa BychanWelsh: Morfa BychanTraeth Morfa BychanFarmland near Morfa BychanMorfa BychanLocation within GwyneddPopulation524 OS grid referenceSH544374CommunityPorthmadogPrincipal areaGwyneddPreserved countyGwyneddCountryWalesSovereign stateUnited KingdomPost townPORTHMADOGPostcode districtLL49Dialling code01766PoliceNorth WalesFireNorth WalesAmbulanceWelsh UK ParliamentDwyfor MeirionnyddSenedd Cymru – Welsh ParliamentDwyf...

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentatio...

 

Seychelles padaOlimpiadeBendera SeychellesKode IOCSEYKONAsosiasi Permainan Persemakmuran dan Olimpiade SeychellesMedali 0 0 0 Total 0 Penampilan Musim Panas19801984198819921996200020042008201220162020 Seychelles mula-mula berpartisipasi dalam Permainan Olimpiade pada 1980, dan telah mengirim para atlet untuk berkompetisi dalam sebagian besar Olimpiade Musim Panas sejak itu, hanya absen dalam Olimpiade Musim Panas 1988 saat Seychelles tak menanggapi undangan yang dikirim oleh IOC.[1] N...

 

For the Union Army officer of the Civil War, see Moncena Dunn (soldier). Moncena DunnMoncena Dunn ca 1896BornOctober 15, 1867Hancock, WisconsinDiedJuly 16, 1944 (1944-07-17) (aged 76)Eau Claire, WisconsinNationalityAmericanOccupation(s)optometrist, inventorKnown forcoupon fraud-proof ballotSpouse(s)Lois Woodward (married 1891, divorced 1907)Elizabeth Weiland (1907-1938, her death)ChildrenWendell E. Dunn, Everett Dunn, Cletus Dunn, Dorothy Dunn, Anita Dunn Moncena Dunn (October ...

Sjamsidar IsaLahir24 Januari 1946 (umur 77)Palembang, Sumatera SelatanKebangsaanIndonesiaPekerjaanPerancang busanaDikenal atasPresiden Ikatan Perancang Mode Indonesia (IPMI)AnakAida NurmalaOrang tuaMohammad Isa Sjamsidar Isa, yang akrab disapa Tjammy (lahir 24 Januari 1946) adalah seorang seniman, perancang busana dan pengusaha Indonesia.[1] Ia dikenal sebagai penggagas dan penggerak industri fashion di tanah air, dan dipercaya menjabat Presiden Ikatan Perancang Mode Indonesia (I...

 

Football tournamentDanone Nations CupOrganising bodyDanoneFounded2000RegionWorldwideNumber of teams32 (qualifiers)Current championsBoys:  Mexico(3rd title)Girls:  Spain(1st title)(2019)Most successful team(s)Boys:  Mexico  France(3 titles each)Girls:  Brazil  France  Spain(1 title each)WebsiteOfficial website(in English, French, and Spanish) 2019 (B), 2019 (G) The Danone Nations Cup is a football tournament for children between the ages of 10 and 12 (U12s ca...

 

Sporting event delegationMauritius at the2022 Commonwealth GamesFlag of MauritiusCGF codeMRICGAMauritius Olympic CommitteeWebsitemauritiusolympic.org/enin Birmingham, England28 July 2022 (2022-07-28) – 8 August 2022 (2022-08-08)Competitors60 (34 men and 26 women) in 10 sportsFlag bearers Merven ClairPriscilla MorandNoemi AlphonseMedalsRanked 27th Gold 0 Silver 3 Bronze 2 Total 5 Commonwealth Games appearances (overview)1958196219661970197419...

2022 studio album by Alex GGod Save the AnimalsStudio album by Alex GReleasedSeptember 23, 2022StudioHeadroom Studios (Philadelphia)Spice House (Philadelphia)SugarHouse (New York City)Clubhouse (Rhinebeck, New York)Gradwell House Recording (Haddon Heights, New Jersey)Watersong Music (Bowdoinham, Maine)Alex's home (Philadelphia)Length43:59LabelDominoProducerAlexander GiannascoliJacob PortraitAlex G chronology We're All Going to the World's Fair (Original Motion Picture Soundtrack)(2022...

 

Multi-purpose stadium This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: Takebishi Stadium Kyoto – news · newspapers · books · scholar · JSTOR (November 2022) Takebishi Stadium KyotoFull nameTakebishi Stadium KyotoFormer namesKyoto Nishikyogoku Athletic Stadium (1942-2019)Location Kyoto, JapanCoordina...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!