[Tagging] Nonbreakable spaces in name tags

Johnparis okosm at johnfreed.com
Sat Jan 27 00:50:17 UTC 2018


HTML has   for non-breakable spaces (Unicode U+00A0).

HTML has ­ for soft hyphens (Unicode U+00AD).

------------------------------

Message: 2
Date: Fri, 26 Jan 2018 23:04:32 +0100
From: Richard <ricoz.osm at gmail.com>
To: "Tag discussion, strategy and related tools"
        <tagging at openstreetmap.org>
Subject: Re: [Tagging] Nonbreakable spaces in name tags
Message-ID: <20180126220432.GA10615 at rz.localhost.localdomain>
Content-Type: text/plain; charset=iso-8859-1

On Fri, Jan 26, 2018 at 03:48:42PM +0100, Matej Lieskovský wrote:
> Greetings!
>
> Several Slavic languages have rather formal rules about line breaks.

the problem is much broader, sooner or later OSM rendering will hit word
splitting.

> PS: The rules are formal enough that there exists a 1997 program
> "Vlna" ("Tilde"), that can add nonbreakable spaces to TeX source files
> and is commonly used for important documents.

probably not all OSM languaes have such tools and even if they have it can
be tricky to determine which language rules to apply.

I would think..
* if someone wants to use nonbreakable spaces he should be allowed to do
  so and tools should tolerate it (not necessarilly understand but not
  break)
* if someone wants to use explicit word-split marks/soft-hyphens
  this should be somehow allowed too.

Otherwise the software should try to do its best and apply heuristics to
avoid
splitting lines in wrong places.
Not splitting 1000 034 should be obvious, roman numbers as well. Prefer not
splitting around "lonely" characters.
The rendering software can also compare texts with name tags and prefer not
to split names at all.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20180126/16dc58c6/attachment.html>


More information about the Tagging mailing list