Zero-width space

The zero-width space (), abbreviated ZWSP, is a non-printing character used in computerized typesetting to indicate where the word boundaries are, without actually displaying a visible space in the rendered text. This enables text-processing systems for scripts that do not use explicit spacing to recognize where word boundaries are for the purpose of handling line breaks appropriately. Zero-width space is unicode character U+200B, and is located in the unicode General Punctuation block, and can be represented by numeric character references ​ or ​.

Purpose

The zero-width space marks a potential line break without hyphenation. Its semantics and HTML implementation are similar to the soft hyphen, but soft hyphens display a hyphen character at the point where the line is broken.

The zero-width space can be used to mark word breaks in languages without visible space between words, such as Thai, Myanmar, Khmer, and Japanese.[1]

In justified text, the rendering engine may add inter-character spacing, also known as letter spacing, between letters separated by a zero-width space, unlike around fixed-width spaces.[1]

Example

To show the effect of the zero-width space in text, the following words have been separated with zero-width spaces:

Lorem​Ipsum​Dolor​Sit​Amet​Consectetur​Adipiscing​Elit​Sed​Do​Eiusmod​Tempor​Incididunt​Ut​Labore​Et​Dolore​Magna​Aliqua​Ut​Enim​Ad​Minim​Veniam​Quis​Nostrud​Exercitation​Ullamco​Laboris​Nisi​Ut​Aliquip​Ex​Ea​Commodo​Consequat​Duis​Aute​Irure​Dolor​In​Reprehenderit​In​Voluptate​Velit​Esse​Cillum​Dolore​Eu​Fugiat​Nulla​Pariatur​Excepteur​Sint​Occaecat​Cupidatat​Non​Proident​Sunt​In​Culpa​Qui​Officia​Deserunt​Mollit​Anim​Id​Est​Laborum

By contrast, the following words have not been separated:

LoremIpsumDolorSitAmetConsecteturAdipiscingElitSedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliquaUtEnimAdMinimVeniamQuisNostrudExercitationUllamcoLaborisNisiUtAliquipExEaCommodoConsequatDuisAuteIrureDolorInReprehenderitInVoluptateVelitEsseCillumDoloreEuFugiatNullaPariaturExcepteurSintOccaecatCupidatatNonProidentSuntInCulpaQuiOfficiaDeseruntMollitAnimIdEstLaborum

The first text is broken into lines but only at word boundaries, and resizing the browser window will re-break the text accordingly, while the second text is not broken at all.

Usage

HTML

In HTML pages, the HTML element <wbr> functions as a zero-width space. In Internet Explorer 6, the zero-width space was not supported in some fonts.[2]

Prohibition in domain names

ICANN rules prohibit domain names from containing non-displayed characters, including the zero-width space, and most browsers prohibit their use within domain names because they can be used to create a homograph attack, where a malicious URL is visually indistinguishable from a legitimate one.[3][4]

Encoding

The zero-width space character is encoded in Unicode as U+200B ZERO WIDTH SPACE,[5] and input in HTML as &ZeroWidthSpace;, &#8203; or &#x200B;. Contrary to what their names suggest, the character entities &NegativeThickSpace;, &NegativeMediumSpace;, &NegativeThinSpace;, and &NegativeVeryThinSpace; also refer to the zero-width space.[6]

The TeX representation is \hskip0pt; the LaTeX representation is \hspace{0pt};[7] and the groff representation is \:.[8]

See also

References

Citations

  1. ^ a b "23.2 Layout Controls". The Unicode® Standard Version 15.0 – Core Specification (PDF). The Unicode Consortium. September 2022. p. 918. ISBN 978-1-936213-32-0.
  2. ^ Dunae, Alex. "Better Web Typography with Spaces and Hyphens". dunae.ca. Archived from the original on December 14, 2010. Retrieved December 3, 2009.
  3. ^ "Network.IDN.blacklist_chars". mozillaZine. Retrieved 2018-02-07.
  4. ^ "Unicode Character 'Zero Width Space'". FileFormat.Info. Retrieved 2018-02-07.
  5. ^ "General Punctuation – Unicode" (PDF). Retrieved 2013-07-20.
  6. ^ Entities/ZeroWidthSpace in MathML Version 2.0
  7. ^ "The LaTeX Companion. Chapter 3: Basic Formatting Tools" (PDF). Retrieved 2019-07-16.
  8. ^ "groff(7) – Linux manual page". Retrieved 2014-02-08.

Sources

Read other articles:

Jalan Tol Dalam Kota BandungInformasi ruteDikelola oleh PT Margautama NusantaraPanjang:27.3 km (17,0 mi)Persimpangan besarUjung sebelumnya:Jalan Tol PurbaleunyiJalan Tol CipularangUjung berikutnya:Jalan Tol CisumdawuJalan Tol Gedebage-Tasikmalaya-CilacapLetakKota besar:Kota BandungSistem jalan bebas hambatan Sistem Jalan di Indonesia Jalan Tol Jalan raya Jalan Tol Dalam Kota Bandung (Bandung Intra Urban Toll Road (BIUTR) atau Bandung Inner Ring Road adalah jalan tol yang melewati d...

 

 

Peta Kota Kotamobagu di Sulawesi Utara Berikut adalah daftar kecamatan dan kelurahan di Kota Kotamobagu, Sulawesi Utara, Indonesia. Kota Kotamobagu terdiri dari 4 kecamatan, 18 kelurahan, dan 15 desa. Pada tahun 2017, jumlah penduduknya mencapai 122.308 jiwa dengan luas wilayah 68,06 km² dan sebaran penduduk 1.797 jiwa/km².[1][2] Daftar kecamatan dan kelurahan di Kota Kotamobagu, adalah sebagai berikut: Kode Kemendagri Kecamatan Jumlah Kelurahan Jumlah Desa Status Daftar Des...

 

 

Honda RCV1000RScott Redding mengendarai Honda RCV1000R di Sepang.PabrikanHonda Racing CorporationProduksi2013Mesin1.000 cc (61 cu in) empat-tak V4Yang terkaitHonda RC213V Honda RCV1000R adalah sepeda motor balap jalanan yang dikembangkan untuk balapan di kelas Open kejuaraan dunia MotoGP untuk musim 2014. Ini pada dasarnya adalah versi produksi pembalap yang disederhanakan dari RC213V yang dapat diikuti oleh tim non-Motorcycle Sport Manufacturers Association (MSMA) di kelas Ope...

Ibrahim Ali Bupati Tana Tidung ke-2PetahanaMulai menjabat 26 Februari 2021GubernurZainal Arifin Paliwang PendahuluUndunsyahPenggantiPetahanaKetua DPRD Tana TidungMasa jabatan20 Agustus 2019 – 23 September 2020 PenggantiJamhariDaerah pemilihanTana Tidung 2[1]Anggota DPRD Tana TidungMasa jabatan20 Agustus 2014 – 20 Agustus 2019Daerah pemilihanTana Tidung 2Mayoritas499 Informasi pribadiLahir23 Juni 1981 (umur 42)Nunukan, Kalimantan UtaraPartai politikPA...

 

 

1983 هي سنة بسيطة بدأت في يوم السبت وفق التقويم الغريغوري، وهي السنة رقم 1983 في الحقبة العامة وبعد الميلاد، والسنة رقم 983 في الألفية الثاينة، ورقم 83 في القرن العشرين والسنة الرابعة في عقد الثمانينات من القرن العشرين. وتعتبر تلك السنة بداية مختلف عليها لبداية الإنترنت وإجراء أ�...

 

 

Voce principale: Unione Sportiva Grosseto Football Club. Unione Sportiva Grosseto Football ClubStagione 2006-2007Sport calcio Squadra Grosseto Allenatore Massimiliano Allegri poi Antonello Cuccureddu Presidente Piero Camilli Serie C11º posto (Promosso in Serie B) Coppa ItaliaPrimo turno Coppa Italia Serie COttavi Maggiori presenzeCampionato: Zizzari (32) Miglior marcatoreCampionato: Cipolla (12)Totale: Cipolla (15) StadioStadio Carlo Zecchini 2005-2006 2007-2008 Si invita a seguire il ...

Szilárd Németh Nazionalità  Slovacchia Altezza 178 cm Peso 75 kg Calcio Ruolo Attaccante Termine carriera 2010 Carriera Giovanili  Slovan Bratislava Squadre di club1 1994-1997 Slovan Bratislava61 (25)1997-1999 Košice37 (20)1998→  Sparta Praga8 (0)1999-2001 Inter Slovnaft Bratislava58 (40)2001-2005 Middlesbrough117 (23)2006→  Strasburgo9 (0)2006-2010 Alemannia Aquisgrana77 (17) Nazionale 2000 Slovacchia U-21? (?)1996-2006 Slovacchia58 (22) ...

 

 

Part of a series on theCulture of Oman History Archaeology Magan Incense trade route Tribes of Arabia Imamate of Oman Omani Empire Muscat and Oman Battle of Dhank Jebel Akhdar War Dhofar Rebellion Battle of Mirbat 1970 coup d'état 2011 protests (Arab Spring) 2018–2019 unemployment protests People Languages Cuisine Religion Art Music Media Radio Television Cinema Sport Monuments World Heritage Sites Symbols Flag Coat of arms National anthem  Oman portalvte The national symbols of O...

 

 

Crocifisso di San FeliceAutoreScuola di Giotto Data1330 circa Tecnicatempera e oro su tavola Dimensioni343×432 cm UbicazioneChiesa di San Felice in Piazza, Firenze Il Crocifisso di San Felice è un dipinto a tempera e oro su tavola (343x432 cm) attribuito alla scuola di Giotto, databile al 1330 circa e conservato nella chiesa di San Felice in Piazza di Firenze. Indice 1 Storia e descrizione 2 Bibliografia 3 Voci correlate 4 Altri progetti 5 Collegamenti esterni Storia e descrizione La c...

Territory of the USA between 1804-1805 District of LouisianaIncorporated and unorganized territory of the United States1804–1805A map of the District of LouisianaCapitalSt. LouisGovernmentGovernor • 1804–1805 William Henry Harrison History • Established October 1 1804• Organized July 4 1805 Preceded by Succeeded by Louisiana Purchase Territory of Louisiana The District of Louisiana, or Louisiana District, was an official and temporary United States governmen...

 

 

Lycksele ialah sebuah kota (pdd. 6.000) di Laplandia Swedia dan ibu kota Kotamadya Lycksele, Daerah Vasterbotten. Lycksele adalah permukiman permanen Sami tertua di Laplandia. Sekolah Sami pertama di Swedia, Skytteanska skolan, dibangun di sini pada tahun 1634. Lycksele adalah tempat pertama di Laplandia Swedia yang mendapatkan gelar kota pada tahun 1946, sehingga nama julukannya Lapp-Stockholm. Artikel bertopik geografi atau tempat Swedia ini adalah sebuah rintisan. Anda dapat membantu Wikip...

 

 

† Египтопитек Реконструкция внешнего вида египтопитека Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:Четвероно...

Port authority in Washington, United States Port of SeattleAerial view of the Seattle harbor, 2022, showing numerous container terminals operated by the Port of SeattleAgency overviewFormedSeptember 5, 1911 (1911-09-05)JurisdictionKing County, WashingtonHeadquarters2711 Alaskan Way Seattle, Washington, U.S.Employees2,150 (2018)Annual budget$670 million (2018)Agency executiveStephen P. Metruck, Executive DirectorChild agenciesSeattle-Tacoma International AirportPort of Seattle P...

 

 

La séparation magnétique est une technique qui permet de séparer les analytes de divers types de matrices selon leur comportement vis-à-vis d’un champ magnétique. Elle est utilisée autant en industrie[1] qu'en chimie[2] et en biotechnologies[3]. Histoire Au milieu du XIXe siècle, Michael Faraday découvre que lorsqu’une substance est placée dans un champ magnétique, celle-ci en modifie l’intensité. C’est dans cette optique que l’on a découvert que des matériaux pouv...

 

 

Type of boat This article is about a type of boat. For other uses, see Skiff (disambiguation). A skiff is any of a variety of essentially unrelated styles of small boats, usually propelled by sails or oars. Traditionally, these are coastal craft or river craft used for work, leisure, as a utility craft, and for fishing, and have a one-person or small crew. Sailing skiffs have developed into high performance competitive classes. Many of today's skiff classes are based in Australia and New Zeal...

Mariano Andújar Informasi pribadiNama lengkap Mariano Gonzalo AndújarTanggal lahir 30 Juli 1983 (umur 40)Tempat lahir Buenos Aires, ArgentinaTinggi 1,94 m (6 ft 4+1⁄2 in)Posisi bermain Penjaga gawangInformasi klubKlub saat ini NapoliNomor 45Karier senior*Tahun Tim Tampil (Gol)2001–2006 Huracán 60 (0)2005–2006 → Palermo (pinjaman) 11 (0)2006–2009 Estudiantes 104 (0)2009–2014 Catania 135 (0)2012 → Estudiantes (pinjaman) 18 (0)2014– Napoli 4 (0)2014 �...

 

 

College women's volleyball team For information on all San Diego State University sports, see San Diego State Aztecs. San Diego State Aztecswomen's volleyballFounded1976UniversitySan Diego State UniversityHead coachBrent Hilliard (since 2020–21 season)ConferenceMountain WestLocationSan Diego, CaliforniaHome arenaAztec Court atPeterson Gymnasium (capacity: 2,000)NicknameAztecsColorsScarlet and black[1]   AIAW/NCAA Tournament semifinal1981, 1982AIAW/NCAA ...

 

 

莎拉·阿什頓-西里洛2023年8月,阿什頓-西里洛穿著軍服出生 (1977-07-09) 1977年7月9日(46歲) 美國佛羅里達州国籍 美國别名莎拉·阿什頓(Sarah Ashton)莎拉·西里洛(Sarah Cirillo)金髮女郎(Blonde)职业記者、活動家、政治活動家和候選人、軍醫活跃时期2020年—雇主內華達州共和黨候選人(2020年)《Political.tips》(2020年—)《LGBTQ國度》(2022年3月—2022年10月)烏克蘭媒�...

  关于与「內閣總理大臣」標題相近或相同的条目页,請見「內閣總理大臣 (消歧義)」。 日本國內閣總理大臣內閣總理大臣紋章現任岸田文雄自2021年10月4日在任尊称總理、總理大臣、首相、阁下官邸總理大臣官邸提名者國會全體議員選出任命者天皇任期四年,無連任限制[註 1]設立法源日本國憲法先前职位太政大臣(太政官)首任伊藤博文设立1885年12月22日,...

 

 

Graduate-entry professional degree in law Juris Doctor diploma conferred by Columbia Law School A Juris Doctor, Doctor of Jurisprudence,[1] or Doctor of Law[2] (JD) is a graduate-entry professional degree that primarily prepares individuals to practice law. In the United States, it is the only qualifying law degree, while other jurisdictions, such as Australia, Canada, and Hong Kong, offer both JD degrees and other undergraduate qualifying law degrees (e.g., LL.B., BCL). Origi...