W3C home > Mailing lists > Public > www-html@w3.org > November 2005

Re: line breaks in XHTML 2.0

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 7 Nov 2005 16:15:40 +0200 (EET)
To: www-html@w3.org
Message-ID: <Pine.GSO.4.63.0511071610070.1626@korppi.cs.tut.fi>

On Mon, 7 Nov 2005, Johannes Koch wrote:

> Theoretically,
> Daten-&zwnj;Set
> (zero width non-joiner)

No, that would _prevent_ line breaks on a browser that honors
Unicode semantics of characters. (There is no requirement that they
honor it in general, but it would be foolish to have an exactly
opposite interpretation for a character.)

Microsoft Word uses zero width non-joiner when you use Insert/Symbol
to add a line break opportunity. This however is _not_ what
ZWNJ means in Unicode. It suggests that characters before and after
it should be joined cursively or as a ligature. It also _forbids_
line break.

Zero-width space (ZWSP) U+200B is the recommended Unicode character
for suggesting line break opportunities. However, this what Unicode
recommends, and HTML specifications do not require conformance to it.

Moreover, by Unicode rules, such an explicit opportunity is not
needed after hyphen-minus, since it by default allows a line
break after it.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 7 November 2005 14:15:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:12 UTC