TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The useful character that is none

48 pointsby Abimelexalmost 6 years ago

7 comments

yardshopalmost 6 years ago
It worked in Firefox Developer Edition.<p>Then I was able to paste it into SublimeText. I pasted it several times. SublimeText says the line is 6 characters long, but the cursor is still at the left edge! Then I copied that line, and my clipboard viewer shows 14 bytes for the Unicode entry, 12 bytes for the 6 characters and a two null bytes. As expected, the characters survive being saved with Trim Trailing Whitespace enabled. Reopening the file with a single-byte encoding (I tried Windows 1252) showed the characters. My hex viewer shows 6 occurrences of E2 80 8B.
crehnalmost 6 years ago
Tiny nitpick: U+200B is a <i>Unicode</i> character, not necessarily UTF-8.
评论 #20085699 未加载
Narushiaalmost 6 years ago
I would suggest using the word joiner character (U+2060) for this purpose. If you use a zero-width space in a hashtag and it ends up at the end of the line, the characters after the ZWS will get broken to the next line. When you use word joiner, this will not happen and the whole word will stay connected. Example: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;0DposDa" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;0DposDa</a>
kalakalmost 6 years ago
I&#x27;m not sure why, but doing a Google search for that character gives interesting results
评论 #20085007 未加载
评论 #20085125 未加载
Lowkeylokialmost 6 years ago
It&#x27;s worth noting that last time I tried, you can&#x27;t use this character to tweet a seemingly blank tweet. Twitter correctly disallows this as it would if you tried to tweet a normal space character and nothing else. However, there are plenty of other non-printing unicode characters that you can still use to tweet a seemingly empty tweet.<p>Hacker News also disallows this in its comments. YMMV with other non-printing characters.
评论 #20086444 未加载
saagarjhaalmost 6 years ago
&gt; The button is tested in chrome browsers, if you use another browser it may not work for you.<p>It doesn’t work in Safari on iOS, FWIW.
评论 #20085659 未加载
duxupalmost 6 years ago
If only Rudy Giuliani had known about this he might not have had someone &quot;invade&quot; his text on Twitter.