Juozas's Dump

A growing collection of anime, photos and any other kind of weird content.
[Tumblr|​X/Twitter|​Pillowfort|​Loforo|​Mastodon] [Random post]

 tags  journal  gallery  RSS

23.2.2023 20:54:57

Zero Width Space

A vere useful where text needs to be wrapped and regular spaces cannot be used. The unicode for it is 0x200B, in linux it can be inserted by typing Ctrl+Shift+U with unicode characher code following right after that

This​is​a​test​paragraph​where​unicode​character​that​is​invisible​space​otherwise​called​zero​width​space​is​used.​It​wraps​around​the​edges​of​the​screen​and​/​or​parent​element​and​is​very​useful​in​other​places​.​Text​just​nicely​wraps​around​such​place​even​if​it​looks​weird​otherwise​.​I​used​it​in​my​blog​settings​so​my​social​links​would​wrap​around​nicely​where​needed.​Unicode​is​a​​very​useful​indeed.

Having a nbsp (0x00A0) in tags also returns weird results in when browsing and/or reading posts. It also can't be copy-pasted. It must be typed manually by using keyboard shortcut and hex code right after that.


reposted by test
login