From 540cfddf305edd866358ddb12a5f36584d8434c4 Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Thu, 12 Dec 2024 00:44:57 +0800 Subject: [PATCH] Create 2024-12-12-politics.md --- docs/2024-12-12-politics.md | 37 +++++++++++++++++++++++++++++++++++ docs/assets/win95-region.png | Bin 0 -> 8634 bytes 2 files changed, 37 insertions(+) create mode 100644 docs/2024-12-12-politics.md create mode 100644 docs/assets/win95-region.png diff --git a/docs/2024-12-12-politics.md b/docs/2024-12-12-politics.md new file mode 100644 index 0000000..f38062a --- /dev/null +++ b/docs/2024-12-12-politics.md @@ -0,0 +1,37 @@ +# 政治技术问题 + +> :fontawesome-regular-face-grin: Y.D.X. +> +> :material-clock-edit-outline: 2024年12月12日 0:36:42 + +操作系统需要显示时间,因而有地区设置。在初版 Windows 95 中,你选的地区会直接显示到世界地图上。在当时应该还挺惊艳的? + +
+ ![Windows 95 Regional Settings](assets/win95-region.png) +
[Windows 95 中的地区设置](https://guidebookgallery.org/screenshots/win95)
+
+ +不过这一功能数月后就被删除了。因为当时秘鲁和厄瓜多尔打仗,秘鲁政府要求微软把边界往北挪。微软认为挪了之后厄瓜多尔政府又会要求挪回去,所以把整个功能删除了。 + +:material-eye-arrow-right-outline: [Why isn't my time zone highlighted on the world map? - The Old New Thing](https://devblogs.microsoft.com/oldnewthing/20030822-00/?p=42823) + +🇨🇳等国旗 emoji 也有类似问题。 + +Unicode当然无权规定政治。它的做法是用 U+1F1E6..U+1F1FF 编码26个拉丁字母,用 ISO 3166 地区代码表示。例如中国的代码是 CN,分别是第3和第14个字母,编码为`🇨`(U+1F1E8)和`🇳`(U+1F1F3)。 + +字体决定了这些码具体显示成什么样。如果字体不支持,可能直接显示出`CN`,只与普通字母略有区别。 + +运行以下 python 程序可获得这两个字符。你可以试着粘贴到记事本、浏览器等处,看看有什么效果。 + +```python +>>> from unicodedata import lookup +>>> "".join(lookup(f"regional indicator symbol letter {x}") for x in "CN") +'🇨🇳' +>>> base = ord(lookup("regional indicator symbol letter A")) +>>> "".join(chr(base + ord(x) - ord("A")) for x in "CN") +'🇨🇳' +``` + +:material-eye-arrow-right-outline: [Regional Indicator Symbols - §22.10.4 Enclosed Alphanumeric Supplement: U+1F100–U+1F1FF – Unicode 16.0.0](https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-22/#G39861) + +↑ Unicode 核心规范有网页版了,链接可以精准定位。 diff --git a/docs/assets/win95-region.png b/docs/assets/win95-region.png new file mode 100644 index 0000000000000000000000000000000000000000..3df1ec95228f7e3728c392e0d24e0f9da43306d5 GIT binary patch literal 8634 zcmdU#_cvT`+x7<$o#>)Q5~6nzy(L7igHZ<2jowT25}hP^i{3^JhG9eq5i`0VdP0Vb z!9rF-<9v!t404Rr*umAe5 z!uBTLDQ6P{(gwG;w_%%sB3vIsCV?j$%gLY^NX`+Jo->;ftaPl21Azv5ljjV#Y>|cdaRXf!bcE8_y`-9 zslGV3TYXA6eqF7!qQm2#pgeYds#A;^xPmc$N?nFW`|G`DbYUjJ^nN$l&)1Bk)|Z$Op+@c9to96P$Q%}x^F&}dmc$rmV1;B z4dXY@8A7-R0%R#|*)0Whz$sdX?|pwhH?x_o5fTNfce??o%PQ9Tl%Aeom+Iaz2g5gS ztIdimfk=_18{mYDtNg=-Gi_w>e)H~mGT1T zMbN%X5cApj`T5cI4(k0?5_r9#vuqYV^z|G??KwSt;lL~13wths=&q3a>2E`O$<;! zY(aP83`hZGTtcD%6$AiqM-%`UqWE_J91un)Bu%zPMMc%-tG$ehG9d-94rB3n#RI!e zX{|*ZEg&p)K?j~<0JMt9%*JVYrcprFIAOmNQ;QI%B)kWPSvb0>KARJJCs<{F-GV1V5=SrB z5i5o{j=IL=EDVZCr8^}o?RBDi?|wm2kjN$HVMjp1pE}}Ja@|X!O?Mf4+*(UtTnSeN z3Cf+B7g>c_8(gL-nhl2WN({$8`Yx6n5=tVtklFs>wW88M|Iy<@o3Ni!9zPt0`YN1j z=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