<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>ascii &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/ascii/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Thu, 01 May 2025 14:25:51 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>ascii &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Why doesn't Disney+ support accents in profile names?]]></title>
		<link>https://shkspr.mobi/blog/2021/12/why-doesnt-disney-support-accents-in-profile-names/</link>
					<comments>https://shkspr.mobi/blog/2021/12/why-doesnt-disney-support-accents-in-profile-names/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Thu, 23 Dec 2021 12:34:58 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[disney]]></category>
		<category><![CDATA[Star Wars]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[utf-8]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=41367</guid>

					<description><![CDATA[Because I&#039;m genetically pre-disposed to watch every piece of Star Wars content ever created, I signed up for a free trial of Disney&#039;s newest streaming service.  As part of onboarding, it asked me to create a profile name. This is typically done so that multi-user households can have separate profiles and preferences. Mum doesn&#039;t have her princess stories disrupting Dad&#039;s suggestions. And Junior…]]></description>
										<content:encoded><![CDATA[<p>Because I'm genetically pre-disposed to watch every piece of Star Wars content ever created, I signed up for a free trial of Disney's newest streaming service.</p>

<p>As part of onboarding, it asked me to create a profile name. This is typically done so that multi-user households can have separate profiles and preferences. Mum doesn't have her princess stories disrupting Dad's suggestions. And Junior doesn't see what filth their parents are watching late at night. All the better to build up detailed tracking profiles on you, my dear!</p>

<p>Naturally, my first thought was to see if this was exploitable in the form of a self reflected XSS. It was not. In fact, it didn't let any character though which wasn't A-Z and 0-9. To my surprise, it also allowed spaces. So no accents, apostrophes, macrons, or other pesky "foreign" characters.</p>

<p>Including, amusingly, the names of several Disney characters.
<img src="https://shkspr.mobi/blog/wp-content/uploads/2021/12/Apostrophe-fs8.png" alt="An apostrophe in Donald O'Duck causes the profile name to display an error." width="1104" height="425" class="aligncenter size-full wp-image-41368"></p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2021/12/Chinese-fs8.png" alt="A set of Chinese characters causes the profile name to display an error." width="1103" height="416" class="aligncenter size-full wp-image-41369">

<img src="https://shkspr.mobi/blog/wp-content/uploads/2021/12/Moana-fs8.png" alt="A macron on Moana causes the profile name to display an error." width="1103" height="442" class="aligncenter size-full wp-image-41370">

<img src="https://shkspr.mobi/blog/wp-content/uploads/2021/12/Accent-fs8.png" alt="The French name Lumière causes the profile name to display an error." width="1104" height="396" class="aligncenter size-full wp-image-41371">

<p>OK, that's a bit daft. But it's also needlessly exclusionary. Every class at school has a kid who has to fight for their right to have their name spelled correctly. There are plenty of blended families with hyphenated surnames. Not everyone in the UK speaks a Latin-derived language.</p>

<p>It is technologically illiterate to restrict profile names like this.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=41367&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2021/12/why-doesnt-disney-support-accents-in-profile-names/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Twitter's Weird Control Character Handling]]></title>
		<link>https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/</link>
					<comments>https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 01 Nov 2015 11:11:23 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[unicode]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=21777</guid>

					<description><![CDATA[A little curio for you all.  A StackOverflow user has pointed out that certain Twitter profiles contain very odd Unicode characters.  What on Earth is going on?  Let&#039;s take a look at Bill Clinton&#039;s profile on Twitter.    Ok, that looks pretty normal. But let&#039;s take a look at the HTML source.    Huh... What are those funny characters?  Unicode Character U+0003 is &#34;End of Text&#34; - it&#039;s one of the…]]></description>
										<content:encoded><![CDATA[<p>A little curio for you all.</p>

<p>A StackOverflow user has <a href="http://stackoverflow.com/questions/33454364/r-how-to-remove-special-characters-escape-sequences-from-json-data-so-i-can/33457137">pointed out that certain Twitter profiles contain very odd Unicode characters</a>.  What on Earth is going on?</p>

<p>Let's take a look at <a href="https://twitter.com/billclinton">Bill Clinton's profile on Twitter</a>.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2015/10/Bill-Clinton-Twitter-Profile.jpg" alt="Bill Clinton Twitter Profile" width="386" height="653" class="aligncenter size-full wp-image-21780">

<p>Ok, that looks pretty normal. But let's take a look at the HTML source.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2015/10/Clinton-Source-fs8.png" alt="Clinton Source-fs8" width="800" height="79" class="aligncenter size-full wp-image-21781">

<p>Huh... What are those funny characters?</p>

<p>Unicode Character U+0003 is "<a href="http://graphemica.com/0003">End of Text</a>" - it's one of the original <a href="https://en.wikipedia.org/wiki/Control_character">ASCII Control Characters</a> used to inform a computer to <a href="https://en.wikipedia.org/wiki/End-of-text_character">stop processing the received data</a>.  In this case, it's the Unicode equivalent of <code>^C</code>.</p>

<p>I'm struggling to think of a legitimate use for including this character in one's Twitter Bio.  Don't get me wrong, I don't think there's any great conspiracy here - but I wonder what weird app allowed those characters through in the middle of the text.</p>

<p>Twitter will let users have almost any Unicode string as their bio.  I wonder if having control characters in there could cause problems for computers processing the text?  It would be mightily unusual for code to come across the control characters when parsing text and treat them as real instructions.  Although stranger things have happened.</p>

<p>The Twitter API disallows <am>some of these characters in regular Tweets.  But not all are banned!</am></p>

<h2 id="which-characters-can-we-use"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#which-characters-can-we-use">Which Characters Can We Use?</a></h2>

<p>Of the first 32 control characters, <em>most</em> can be used in a Twitter Bio.  <em>None</em> can be used in a Tweet.</p>

<p>Here's a snapshot from Twitter API showing a test Tweet I made.</p>

<iframe src="https://snap.apigee.com/1ivg6Pf" width="800" height="300" frameborder="0" scrolling="no"></iframe>

<p>The characters which can't be used in a Bio are 5,7,8,10,11,12,13,14,15 - the reason why is left as an exercise for the reader.</p>

<p>The <a href="https://en.wikipedia.org/wiki/C0_and_C1_control_codes#C1_set">C1 Control Set</a> (127-159) is much more useful.</p>

<p>Again, another API snapshot - you may need to view the source of the API response in order to see the characters.</p>

<iframe src="https://snap.apigee.com/1PcR2t2" width="800" height="300" frameborder="0" scrolling="no"></iframe>

<p><strong>All</strong> of the characters are stored in <em>both</em> the bio and the status.  Each does count towards the character limit - but that doesn't mean we can't have fun with them!</p>

<h2 id="potential-uses"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#potential-uses">Potential Uses</a></h2>

<p>Ok, so that's... interesting, I guess. Is there anything useful which can be done with these characters?</p>

<h3 id="stop-auto-links"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#stop-auto-links">Stop Auto-Links</a></h3>

<p>We can <a href="https://shkspr.mobi/blog/2015/01/how-to-stop-twitter-auto-linking-urls/">stop Twitter autolinking URls</a>.</p>

<blockquote class="social-embed" id="social-embed-660598030916304896" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><blockquote class="social-embed" id="social-embed-558013466494369792" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">Trying out URL encoding<br><a href="http://example.com">example.com</a><br>/example.com<br>example．com<br>example｡com<br>example․com</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/558013466494369792"><span aria-label="3 likes" class="social-embed-meta">❤️ 3</span><span aria-label="0 replies" class="social-embed-meta">💬 0</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2015-01-21T21:29:12.000Z" itemprop="datePublished">21:29 - Wed 21 January 2015</time></a></footer></blockquote><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody"><small class="social-embed-reply"><a href="https://twitter.com/edent/status/558013466494369792">Replying to @edent</a></small>And how about http://example.com/ ? Will that autolink?</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/660598030916304896"><span aria-label="0 likes" class="social-embed-meta">❤️ 0</span><span aria-label="0 replies" class="social-embed-meta">💬 0</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2015-10-31T23:23:38.000Z" itemprop="datePublished">23:23 - Sat 31 October 2015</time></a></footer></blockquote>

<p>A quick look at the source of that Tweet and you'll see the <a href="http://www.fileformat.info/info/unicode/char/007f/index.htm">Unicode Delete character</a> between the dot and the com.</p>

<p>Of course, the user can't copy &amp; paste the URl - try it!</p>

<p>This is similar to <a href="http://www.smashingmagazine.com/2015/10/space-yourself/">Marcin Wichary's excellent article on esoteric spacing characters in Unicode.</a></p>

<h3 id="top-secret"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#top-secret">Top Secret!</a></h3>

<p>An interesting use which springs to mind is <a href="https://en.wikipedia.org/wiki/Steganography">steganography</a> - hiding messages within messages. There are 33 control characters which can appear in a status. That's enough for an alphabet's worth of letters - or for a basic code book.</p>

<blockquote class="social-embed" id="social-embed-660619240077197312" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">Nothing odd going on here!</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/660619240077197312"><span aria-label="1 likes" class="social-embed-meta">❤️ 1</span><span aria-label="0 replies" class="social-embed-meta">💬 0</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2015-11-01T00:47:55.000Z" itemprop="datePublished">00:47 - Sun 01 November 2015</time></a></footer></blockquote>

<p>Of course, not every Twitter client handles these characters gracefully - <a href="https://github.com/TwidereProject/Twidere-Android">Twidere</a>, for example, gives us this hot mess.
<img src="https://shkspr.mobi/blog/wp-content/uploads/2015/11/Corrupt-Tweet-fs8.png" alt="Corrupt Tweet-fs8" width="800" height="352" class="aligncenter size-full wp-image-21786"></p>

<h3 id="breaking-things"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#breaking-things">Breaking Things</a></h3>

<p>There's the possibility of causing all sorts of minor vandalism like the above - most text processing libraries should be able to ingest the data without issue, but there's always going to be one of two which will throw up errors.</p>

<p>For example, using <code>example.com/␡test.html</code> in a Tweet, rather messes up Facebook.</p>

<blockquote class="social-embed" id="social-embed-660626011072131072" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">Facebook Test <a href="http://example.com/">example.com</a>test.html</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/660626011072131072"><span aria-label="0 likes" class="social-embed-meta">❤️ 0</span><span aria-label="0 replies" class="social-embed-meta">💬 0</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2015-11-01T01:14:49.000Z" itemprop="datePublished">01:14 - Sun 01 November 2015</time></a></footer></blockquote>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2015/11/Facebook-Control-Char-Twitter-fs8.png" alt="Facebook Control Char Twitter-fs8" width="795" height="362" class="aligncenter size-full wp-image-21787">

<p>The text is passed through, but the hyperlink gets mangled by Facebook - it becomes "<a href="https://t.co/WQOcry9nhy%7Ftest.html">https://t.co/WQOcry9nhy<strong>%7F</strong>test.html</a>", which is broken.</p>

<h3 id="phishing"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#phishing">Phishing</a></h3>

<p>There's a minor phishing risk:</p>

<blockquote class="social-embed" id="social-embed-660630983188836353" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">This is a test!<br><br>" To reset your account, visit https://paypal.com/<a href="http://login.info/">login.info</a> "<br><br>&lt;&lt; That's a phishing link. Don't click!</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/660630983188836353"><span aria-label="0 likes" class="social-embed-meta">❤️ 0</span><span aria-label="1 replies" class="social-embed-meta">💬 1</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2015-11-01T01:34:34.000Z" itemprop="datePublished">01:34 - Sun 01 November 2015</time></a></footer></blockquote>

<p>With no apparent space between one URl and the next, an unwary user may be fooled into clicking on something dodgy.  Not helped by the proliferation of weird TLDs!</p>

<p>Incidentally, when Facebook tries to process that Tweet it suffers a major malfunction:
<img src="https://shkspr.mobi/blog/wp-content/uploads/2015/11/Facebook-Invalid-URl-fs8.png" alt="Facebook Invalid URl-fs8" width="786" height="326" class="aligncenter size-full wp-image-21791"></p>

<h3 id="obfuscation"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#obfuscation">Obfuscation</a></h3>

<p>Suppose you want to talk about a controversial subject, but don't want people to be able to search for what your saying.  You can tweet about "Game␡rGate" and Twitter's search engine will ignore it.</p>

<p>Handy if you want to gripe about your employer, but are worried that someone will be searching out every mention of them on Twitter.</p>

<h2 id="anything-else"><a href="https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/#anything-else">Anything Else?</a></h2>

<p>If you can think of anything interesting / dastardly / amusing to do with this, please stick a comment in the box.
</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=21777&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2015/11/twitters-weird-control-character-handling/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[ASCII Art in QR Codes]]></title>
		<link>https://shkspr.mobi/blog/2014/05/ascii-art-in-qr-codes/</link>
					<comments>https://shkspr.mobi/blog/2014/05/ascii-art-in-qr-codes/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Tue, 27 May 2014 11:01:26 +0000</pubDate>
				<category><![CDATA[qr]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[ascii]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=10443</guid>

					<description><![CDATA[There are plenty of QR generators which will render the code in ASCII, but I wanted to try something a little different.  Is it possible to hide ASCII Art into QR Codes?  Errr.... yes... It&#039;s pretty damn simple! I was surprised I couldn&#039;t find anyone else doing this.   (\_/) (=&#039;.&#039;=) (&#34;)_(&#34;)   Becomes:   Which, when scanned, renders as:    Now, there are limits as to what you can put into a QR…]]></description>
										<content:encoded><![CDATA[<p>There are plenty of QR generators which will render the code in ASCII, but I wanted to try something a little different.  Is it possible to hide ASCII Art into QR Codes?</p>

<p>Errr.... yes... It's pretty damn simple! I was surprised I couldn't find anyone else doing this.</p>

<pre> (\_/)
(='.'=)
(")_(")
</pre>

<p>Becomes:
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/05/bunny-ascii-art-in-qr-code.png" alt="bunny ascii art in qr code" width="216" height="216" class="aligncenter size-full wp-image-10444"></p>

<p>Which, when scanned, renders as:</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/05/ASCII-Art-QR-Scan.jpg" alt="ASCII Art QR Scan" width="1024" height="576" class="aligncenter size-full wp-image-10446">

<p>Now, there are limits as to what you can put into a QR code - about 4,000 characters.  Different devices have different screen widths, which limits the ability to include <a href="http://counterpoint.frequency44.com/pages/mona.html">fully featured ASCII Artworks like the Mona Lisa</a></p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=10443&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2014/05/ascii-art-in-qr-codes/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
