47 ms·
Notably, some zero width characters tend to get removed, especially in systems that try to remove excess whitespace. I made a very rudimentary PoC of encoding d
by jchw 9y ago
Notably, some zero width characters tend to get removed, especially in systems that try to remove excess whitespace. I made a very rudimentary PoC of encoding data in zero width characters, but was hit by a few things:
- Some characters affect word wrap in unexpected ways, depending on the script of the text.
- Some characters impact glyph rendering in minor ways. For example, the ligature between f and l may be interrupted.
- Some characters are outright stripped. For example, Twitter strips U+FEFF.
- Zero width characters often trip up language detection systems. I noticed that Twitter detected my English message as Italian with the presence of some zero width characters.
So it's not necessarily as useful as it seems. If you pick specific characters to strategically avoid these issues, it's hard to make the encoding very efficient.
Still, it probably has it's uses.