Programming language file extensions that match ISO 3166-1 alpha-2 country code

speckx1 pts0 comments

Programming language file extensions that match an ISO 3166-1 alpha-2 country code | Blog | Ruby KloverProgramming language file extensions that match an ISO 3166-1 alpha-2 country code<br>Published on<br>2025-02-08<br>256 words

So there's this standard called ISO 3166-1 alpha-2 that defines a 2<br>letter code for every country on the planet (like ME = Montenegro) and<br>a bunch of places that aren't countries (like EU = European Union).<br>You've probably encountered such a code before in top level domain<br>names (.im belongs to the Isle of Man) and on Discord (typing<br>:flag_fm: yields a 🇫🇲 emoji).<br>One of these codes is RS (= Serbia). Either by a sheer coincidence or<br>someone playing 5D chess, .rs is also the file extension for the Rust<br>programming language, which is why the domain name of every other Rust<br>project now belongs to Serbia. This made me curious about other cases<br>like this, so here's an incomplete list of programming languages,<br>domain-specific languages, markup languages, etc which file extensions<br>match a country code. If you think something is missing, let me know!<br>CodeFlagLanguageCountryAM🇦🇲AutomakeArmeniaAS🇦🇸ActionScriptAmerican SamoaCC🇨🇨C++Cocos IslandsEC🇪🇨eCEcuadorES🇪🇸ECMAScriptSpainGY🇬🇾GroovyGuyanaIN🇮🇳AutoconfIndiaMD🇲🇩MarkdownMoldovaMK🇲🇰MakefileNorth MacedoniaMM🇲🇲Objective CMyanmarPL🇵🇱Perl, PL/I, PrologPolandPS🇵🇸PostScriptPalestinePY🇵🇾PythonParaguayRS🇷🇸RustSerbiaRU🇷🇺RubyRussiaSB🇸🇧ScratchSolomon IslandsSC🇸🇨ScalaSeychellesSH🇸🇭Unix ShellSaint HelenaSL🇸🇱S-LangSierra LeoneSM🇸🇲SmallTalkSan MarinoST🇸🇹SmallTalk, Structured TextSao Tome and PrincipeSV🇸🇻SystemVerilogEl Salvador

code file country programming language extensions

Related Articles