Search code examples
unicodelanguage-agnostic

Is there a Unicode Character to indicate possible linebreak in a string


We are looking for a "BREAK NO-SPACE" character reverse to NO-BREAK SPACE. It should not print anything, just indicate the components down the line, the word can be split and linebroken at these positions.

Is there anything similar to this in Unicode or any other encoding scheme? It would make life easier since we could then rely on built-in methods for line split in our framework instead of introducing custom logic and some "Magic Character".


Solution

  • Soft hyphen U+00AD is invisible but indicates where a word should be broken.