<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Country-Codes on thomaspaulin.me</title><link>https://thomaspaulin.me/tags/country-codes/</link><description>The intersection of aerospace, science, and programming.</description><generator>Hugo -- gohugo.io</generator><language>en-nz</language><lastBuildDate>Fri, 17 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thomaspaulin.me/tags/country-codes/index.xml" rel="self" type="application/rss+xml"/><item><title>Geopolitics and Web Domains</title><link>https://thomaspaulin.me/2026/07/geopolitics-and-web-domains/</link><pubDate>Fri, 17 Jul 2026 00:00:00 +0000</pubDate><dc:creator>Thomas Paulin</dc:creator><guid>https://thomaspaulin.me/2026/07/geopolitics-and-web-domains/</guid><description>The world of geopolitics has its fingerprints in the digital world in many forms, one of which being website domains.
We see country code top-level domains (ccTLD) for countries that exist, no longer exist, could exist, or only exist to some.
Country specific domain names are based upon the country’s ISO-3166 alpha-2 code (henceforth “country code”) and registration began in 1985 with the first being, unsurprisingly, .us for the United States of America. Since then most countries have a ccTLD in the Latin alphabet, with some also having an “Internationalised” version in other scripts e.g. Arabic, Chinese, Cyrillic.</description><content:encoded><![CDATA[<p>The world of geopolitics has its fingerprints in the digital world in many forms, one of which being website domains.</p>
<p>We see country code top-level domains (ccTLD) for countries that exist, no longer exist, could exist, or only exist to some.</p>
<p>Country specific domain names are <a href="https://datatracker.ietf.org/doc/rfc1591/">based upon</a> the country&rsquo;s <a href="https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes">ISO-3166 alpha-2 code</a> (henceforth &ldquo;country code&rdquo;)
and registration <a href="https://web.archive.org/web/20011012191130/http://www.ccwhois.org/ccwhois/cctld/ccTLDs-by-date.html">began in 1985</a>
with the first being, unsurprisingly, <code>.us</code> for the United States of America. Since then most countries have a ccTLD in
the Latin alphabet, with some also having an &ldquo;Internationalised&rdquo; version in other scripts e.g. Arabic, Chinese, Cyrillic.</p>
<p>The domain situation for countries without universal recognition is complicated, as one might expect with some having
country codes, whereas others don&rsquo;t. Taiwan has &ldquo;TW&rdquo; and the <code>.tw</code> domain, Palestine has &ldquo;PS&rdquo; and <code>.ps</code>, Northern Cyprus
shares Turkey&rsquo;s <code>.tr</code> but has no country code, and <a href="https://thomaspaulin.me/2024/04/what-is-the-iso-country-code-for-kosovo/other-unrecognised-countries/" title="Kosovo has no official alpha-2 country code">Kosovo</a>,
like Northern Cyprus, has no country code but has been allocated a temporary <code>.xk</code> domain since 1999. Should it become
a recognised country in future and assigned a country code some options could be <code>.ka</code>, <code>.ks</code>, <code>.kv</code>, even <code>.ko</code>.
However, the latter of <code>.ko</code> could be used in the event of a Korean reunification should that ever take place.
The most obvious code isn&rsquo;t always the correct one.</p>
<p>On the subject of communist states, we see traces of history in domains through the <code>.cs</code> (Czechoslovakia), <code>.dd</code>
(East Germany), <code>.su</code> (Soviet Union), <code>.yu</code> (Yugoslavia) domains. Most of these are discontinued, but it turns out the
<code>.su</code> domains <a href="https://www.iana.org/domains/root/db/su.html">are still active today</a> even after the collapse of the USSR and SU was removed as a country code.</p>
<p>As in life, with destruction can come creation, and this is also true with domains - we saw the creation of <code>.mk</code> in
1993, and most recently <a href="https://nic.ss/">South Sudan</a> with <code>.ss</code> which was allocated in August 2011, one month after the country
was recognised, and introduced in 2019 making it the youngest domain, and country at the time of writing.</p>
]]></content:encoded></item><item><title>What is the ISO country code for Kosovo/other unrecognised countries?</title><link>https://thomaspaulin.me/2024/04/what-is-the-iso-country-code-for-kosovo/other-unrecognised-countries/</link><pubDate>Sun, 07 Apr 2024 00:00:00 +0000</pubDate><dc:creator>Thomas Paulin</dc:creator><guid>https://thomaspaulin.me/2024/04/what-is-the-iso-country-code-for-kosovo/other-unrecognised-countries/</guid><description>The short answer: UNK for Kosovo travel documents, but a code prefixed with “X” in general terms.
The long answer: ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 define the two and three-letter codes for countries, respectively, but some unrecognised countries such as Kosovo have no such code. Because ISO-3166 reserves the “X” prefix for user-assigned codes it is often used where an alpha-2 or alpha-3 value is missing. Note that some “X” prefixed codes are in use by travel document specifications, where Kosovo uses UNK, and NATO.</description><content:encoded><![CDATA[<p>The short answer: UNK for Kosovo travel documents, but a code prefixed with &ldquo;X&rdquo; in general terms.</p>
<p>The long answer: <a href="https://www.iso.org/obp/ui/#search">ISO 3166-1 alpha-2</a> and <a href="https://www.iso.org/obp/ui/#search">ISO 3166-1 alpha-3</a> define the two and three-letter codes for countries, respectively, but some unrecognised countries such as Kosovo have no such code. Because ISO-3166 reserves the &ldquo;X&rdquo; prefix for user-assigned codes it is often used where an alpha-2 or alpha-3 value is missing.
Note that some &ldquo;X&rdquo; prefixed codes are in use by <a href="https://www.iso.org/standard/45562.html">travel document specifications</a>, where Kosovo uses UNK, and <a href="https://en.wikipedia.org/wiki/List_of_NATO_country_codes">NATO</a>.</p>
<p>Therefore, if you wish to define your own codes beyond those in the ISO specification, use an &ldquo;X&rdquo; prefix e.g. &ldquo;XTP&rdquo;.</p>
]]></content:encoded></item></channel></rss>