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.

Zero width or invisible ASCII in Unicode?

1 pointsby dalyover 2 years ago
Would it be possible to create &quot;invisible ascii&quot; characters as part of unicode?<p>Such characters would be useful for hiding URL text, for example.

3 comments

DemocracyFTW2over 2 years ago
There&#x27;s something similar, Unicode tags <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Tags_(Unicode_block)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Tags_(Unicode_block)</a>:<p><i>Tags is a Unicode block containing formatting tag characters. The block is designed to mirror ASCII. It was originally intended for language tags, but has now been repurposed as emoji modifiers, specifically for region flags.</i>
navjack27over 2 years ago
Let&#x27;s try something using some text from a scratchpad of notes I keep in VSCODE.<p><pre><code> find and replace: ; to &quot;&quot; &gt; to &gt;&quot; &lt; to &quot;&lt;  &gt;&quot;  to  &gt;   &quot;&lt; to  &lt; get rid of the &quot; at the start of the document and at the end too then use format document with &gt; XML  - unit separator  - record separator  - group separator  - file separator</code></pre>
dalyover 2 years ago
I encoded ascii using morse code with a dot becoming a space and a dash becoming a tab. I wrapped the whole thing with a trivial C program to encode&#x2F;decode.<p>The end result was &quot;Hello, World&quot; in C but completely invisible. That made it possible to include code that no-one can see but will still be compiled.
评论 #32622010 未加载