<?xml version="1.0"?>
<?xml-stylesheet href="/transform" type="text/xsl"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:bs="http://purl.org/ontology/bibo/status/" xmlns:ci="https://vocab.methodandstructure.com/content-inventory#" xmlns:dct="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" lang="en" prefix="bibo: http://purl.org/ontology/bibo/ bs: http://purl.org/ontology/bibo/status/ ci: https://vocab.methodandstructure.com/content-inventory# dct: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# xhv: http://www.w3.org/1999/xhtml/vocab# xsd: http://www.w3.org/2001/XMLSchema#" vocab="http://www.w3.org/1999/xhtml/vocab#" xml:lang="en">
  <head>
    <title property="dct:title">Tongue-Twisters and Vocabulary Gaps in URIs</title>
    <base href="https://doriantaylor.com/policy/tongue-twisters-and-vocabulary-gaps-in-uris"/>
    <link href="../document-stats#EtY-Q2lKq6EV3dlNx1gJqK" rev="ci:document"/>
    <link href="../elsewhere" rel="alternate bookmark" title="Elsewhere"/>
    <link href="../this-site" rel="alternate index" title="This Site"/>
    <link href="http://purl.org/ontology/bibo/status/published" rel="bibo:status"/>
    <link href="" rel="ci:canonical" title="Tongue-Twisters and Vocabulary Gaps in URIs"/>
    <link href="../lexicon/#EzqXIsriaILFcWjXdS7FbI" rel="dct:audience" title="Software Developer"/>
    <link href="../person/dorian-taylor#me" rel="dct:creator" title="Dorian Taylor"/>
    <link href="mistaken-interpretations-of-uris" rel="dct:references prev" title="Mistaken Interpretations of URIs"/>
    <link href="other-non-alpha-numeric-characters-in-http-urls" rel="dct:references up" title="Other Non-Alpha-Numeric Characters in HTTP URLs"/>
    <link href="../lexicon/#EnewYu-MeZVXNc97q_-jAI" rel="dct:subject" title="Web Development"/>
    <link href="../person/dorian-taylor" rel="meta" title="Who I Am"/>
    <link about="../" href="../3f36c30c-6096-454a-8a22-c062100ae41f" rel="alternate" type="application/atom+xml"/>
    <link about="../" href="../f07f5044-01bc-472d-9079-9b07771b731c" rel="alternate" type="application/atom+xml"/>
    <link about="../" href="../this-site" rel="alternate"/>
    <link about="../" href="../elsewhere" rel="alternate"/>
    <link about="../" href="../e341ca62-0387-4cea-b69a-cdabc7656871" rel="alternate" type="application/atom+xml"/>
    <link about="../verso/" href="../3f36c30c-6096-454a-8a22-c062100ae41f" rel="alternate" type="application/atom+xml"/>
    <link about="../verso/" href="../this-site" rel="alternate"/>
    <link about="../verso/" href="../elsewhere" rel="alternate"/>
    <meta content="tongue-twisters-and-vocabulary-gaps-in-uris" datatype="xsd:token" property="ci:canonical-slug"/>
    <meta content="Avoid using characters in URIs your users don't know how to pronounce." name="description" property="dct:abstract"/>
    <meta content="2008-09-03T08:31:44+00:00" datatype="xsd:dateTime" property="dct:created"/>
    <meta content="tongue-twisters-and-vocabulary-gaps-in-uris" property="dct:identifier"/>
    <meta content="2008-10-09T02:02:01+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2009-03-04T00:43:00+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2022-05-31T04:18:52+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta about="../person/dorian-taylor#me" content="Dorian Taylor" name="author" property="foaf:name"/>
    <meta content="summary" name="twitter:card"/>
    <meta content="@doriantaylor" name="twitter:site"/>
    <meta content="Tongue-Twisters and Vocabulary Gaps in URIs" name="twitter:title"/>
    <meta content="Avoid using characters in URIs your users don't know how to pronounce." name="twitter:description"/>
    <object>
      <nav>
        <ul>
          <li>
            <a href="other-non-alpha-numeric-characters-in-http-urls" rev="dct:references" typeof="bibo:Report">
              <span property="dct:title">Other Non-Alpha-Numeric Characters in HTTP URLs</span>
            </a>
          </li>
          <li>
            <a href="../document-stats#EtY-Q2lKq6EV3dlNx1gJqK" rev="ci:document" typeof="qb:Observation">
              <span>urn:uuid:b58f90da-52aa-4e84-a577-765371d6026a</span>
            </a>
          </li>
        </ul>
      </nav>
    </object>
  </head>
  <body about="" id="EkJJ2aS3zfFS9CSRURvMhJ" typeof="bibo:Report">
    <p>Like <a href="hyphen-vs-underscore" title="Hyphen vs. Underscore" rel="dct:references">the underscore character</a> <samp>_</samp>, the tilde <samp>~</samp> is another vestige of the implementation <span class="parenthesis" title="for backtracking and typing over the letter n">constraints of typewriters</span>. Its history on the <abbr title="World Wide Web">Web</abbr> is because a tilde is a <a href="http://en.wikipedia.org/wiki/Unix" title="Unix &#x2014; Wikipedia" rel="dct:references">Unix</a> <a href="http://en.wikipedia.org/wiki/Unix_Shell" title="Unix Shell &#x2014; Wikipedia" rel="dct:references">shell</a> shorthand for a user's home <span class="parenthesis" title="folder">directory</span>. When the <abbr title="World Wide Web">Web</abbr> was nascent, before everyone had their own <a href="domain-name-recommendations" title="Domain Name Recommendations" rel="dct:references">domain</a>, it was much more common to see <acronym title="Hypertext Transfer Protocol">HTTP</acronym> <acronym title="Uniform Resource Locator">URL</acronym>s like <samp>http://example.com/~luser/</samp>, where <samp>luser</samp> was the user name of an account on the associated <abbr title="World Wide Web">Web</abbr> server. So really, the tilde is a <em>second-degree</em> implementation constraint vestige.</p>
    <p>Furthermore, anecdotal evidence suggests that nobody knows the word for the damn thing! When playing audience to someone speaking a <acronym title="Uniform Resource Identifier">URI</acronym> that contains a tilde, one often hears a pause, followed by <q>umm, I don't know, that &#x2026; squiggly thing</q>. Other characters that fall into the category of unknown-word or hard-to-say include the ampersand <samp>&amp;</samp>, the exclamation mark <samp>!</samp>, the apostrophe <samp>'</samp> and the asterisk <samp>*</samp>. The astute, at this point, will notice that the dollar sign <samp>$</samp> is exempt, because <span class="parenthesis" title="I sure do.">people make an exception for money</span>.</p>
    <p>So, take care not to make <acronym title="Uniform Resource Identifier">URI</acronym>s that are hard to say, and <span class="parenthesis" title="forget tildes exist!">kindly avoid perpetuating long-obsolete implementation constraints</span>. Be judicious.</p>
  </body>
</html>
