soft hyphen
In computing and typesetting, a soft hyphen ( ), syllable hyphen, or discretionary hyphen is a code point reserved in some coded character sets for the purpose of breaking words across lines by inserting visible hyphens if they fall on the line end but remain invisible within the line.[1] Two alternative ways of using the soft hyphen character for this purpose have emerged, depending on whether the encoded text will be broken into lines by its recipient, or has already been preformatted by its originator.[1]
In computing and typesetting, a soft hyphen ( ), syllable hyphen, or discretionary hyphen is a code point reserved in some coded character sets for the purpose of breaking words across lines by inserting visible hyphens if they fall on the line end but remain invisible within the line.[1] Two alternative ways of using the soft hyphen character for this purpose have emerged, depending on whether the encoded text will be broken into lines by its recipient, or has already been preformatted by its originator.[1] Margaret­Are­You­Grieving­Over­Goldengrove­Unleaving­Leaves­Like­The­Things­Of­Man­You­With­Your­Fresh­Thoughts­Care­For­Can­You­Ah­As­The­Heart­Grows­Older­It­Will­Come­To­Such­Sights­Colder­By­And­By­Nor­Spare­A­Sigh­Though­Worlds­Of­Wanwood­Leafmeal­Lie­And­Yet­You­Will­Weep­And­Know­Why­Now­No­Matter­Child­The­Name­Sorrows­Springs­Are­The­Same­Nor­Mouth­Had­No­Nor­Mind­Expressed­What­Heart­Heard­Of­Ghost­Guessed­It­Is­The­Blight­Man­Was­Born­For­It­Is­Margaret­You­Mourn­For On HTML browsers supporting soft hyphens, resizing the window will re-break the above text only at word boundaries, and insert a hyphen at the end of each line.[1] IBM code page 850 (an MS-DOS character set covering all ISO 8859-1 characters) placed it at position 240 = 0xF0.[src] SGML's "Numeric and Special Graphic" (isonum) character entity set (ISO 8879:1986) includes ­ for the ISO 8859-1 soft hyphen.[1] Unicode 1.0 (1991) and ISO 10646 (1993) took the first 256 code positions from ISO 8859-1, resulting in SHY at Unicode code point of U+00AD.[src] HTML 2 (1995) incorporated the "­" character entity from SGML, but explicitly discouraged its use.[src] HTML 4 (1999) redefined the purpose of the character as marking a hyphenation opportunity, which only becomes visible as a hyphen at the end of a line after formatting.[src] Unicode 4.0 (2002) changed the category of its SHY character from previously "Pd" (punctuation, dash) to "Cf" (other, format), thereby aligning its interpretation of the character with that of HTML 4.[src] Other commands for marking hyphenation opportunities in text formatting languages (similar to the HTML 4 and Unicode 4.0 interpretation of SHY): troff and groff: \% .[src] TeX and LaTeX: \- Typst: -?[src] ==Security issues== Soft hyphens, like other invisible characters, have been used to obscure malicious domains or URLs in e-mail spam.[src] They are also used in emails to try to defeat spam prevention systems.[src] For example, the phrase "I need your assista­nce discreetly" has a soft hyphen in the word assistance which may mean a mail system would not detect the phrase in the email body.[1] ==See also== Hard hyphen Non-breaking space Word divider Word joiner Zero-width space Word wrap ==References==[src]
17 sentences · 17 cited inline · 1 references stored
References
- soft hyphen · retrieved 2026-11-23 · rev 1352800949
Cite this reference
MLA "soft hyphen." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1352800949. Accessed 28 November 2026.
Chicago "soft hyphen." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1352800949.
APA encyclopegia.org. (2026). soft hyphen. Retrieved November 28, 2026, from https://en.wikipedia.org/w/index.php?oldid=1352800949
Cite this article
MLA
"soft hyphen." encyclopegia.org, 2026, https://encyclopegia.org/wiki/soft-hyphen. Accessed 28 November 2026.
Chicago
"soft hyphen." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/soft-hyphen.
APA
encyclopegia.org. (2026). soft hyphen. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/soft-hyphen
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| year mentioned | 1986 | article body |
| year mentioned | 1991 | article body |
| year mentioned | 1993 | article body |
| founded | 1995 | article body |
| year mentioned | 1999 | article body |
| year mentioned | 2002 | article body |