<story><title>What Every Programmer Absolutely, Positively Needs To Know About Encodings (2011)</title><url>https://kunststube.net/encoding/</url></story><parent_chain></parent_chain><comment><author>oshiar53-0</author><text>Fun fact: GB 18030 is a Unicode Transformation Format.&lt;p&gt;Example: \N{THINKING FACE}\N{FACE WITH TEARS OF JOY}\N{FACE SCREAMING IN FEAR}\N{SMILING FACE WITH SMILING EYES AND THREE HEARTS}\N{PERSON DOING CARTWHEEL}\N{FACE WITH NO GOOD GESTURE}\N{ZERO WIDTH JOINER}\N{FEMALE SIGN}\N{VARIATION SELECTOR-16}\N{EYES}\N{ON WITH EXCLAMATION MARK WITH LEFT RIGHT ARROW ABOVE}\N{SQUARED COOL}\N{VARIATION SELECTOR-16}&lt;p&gt;In UTF-8:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  00000000: f09f a494 f09f 9882 f09f 98b1 f09f a5b0  ................
  00000010: f09f a4b8 f09f 9985 e280 8de2 9980 efb8  ................
  00000020: 8ff0 9f91 80f0 9f94 9bf0 9f86 92ef b88f  ................
&lt;/code&gt;&lt;/pre&gt;
In GB 18030:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  00000000: 9530 cd34 9439 fc38 9530 8335 9530 d636  .0.4.9.8.0.5.0.6
  00000010: 9530 d130 9530 8535 8136 a439 a1e2 8431  .0.0.0.5.6.9...1
  00000020: 8235 9439 cf38 9439 e537 9439 8b32 8431  .5.9.8.9.7.9.2.1
  00000030: 8235                                     .5&lt;/code&gt;&lt;/pre&gt;</text></comment>
<story><title>What Every Programmer Absolutely, Positively Needs To Know About Encodings (2011)</title><url>https://kunststube.net/encoding/</url></story><parent_chain></parent_chain><comment><author>torstenvl</author><text>The world of text encodings is pretty insane, especially when you start getting into the realm of what seems like endless variations on multi-level encodings, like the bajillion different character set encodings for quwei&amp;#x2F;kuten CJK encodings.&lt;p&gt;I&amp;#x27;m only scratching the surface right now, and just wrote a CPG 932 → Unicode lookup utility. &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;pastebin.com&amp;#x2F;4PYmEjQZ&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;pastebin.com&amp;#x2F;4PYmEjQZ&lt;/a&gt;&lt;p&gt;(For internal testing, forgive any sloppiness, but feel free to use the kuten table if you happen to have a niche project with one-way mapping. The tables themselves are facts and not creative expression, so should not be copyrightable, but I&amp;#x27;m dedicating the project to the public domain anyway.)</text></comment>