http://wiki.seb35.fr/Unicode?feed=atom&action=history
Unicode - Historique des versions
2024-03-28T21:17:49Z
Historique des révisions pour cette page sur le wiki
MediaWiki 1.37.0-alpha
http://wiki.seb35.fr/Unicode?diff=429875&oldid=prev
Seb35 le 11 septembre 2019 à 22:46
2019-09-11T22:46:05Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fr">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version du 11 septembre 2019 à 22:46</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8">Ligne 8 :</td>
<td colspan="2" class="diff-lineno">Ligne 8 :</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If 2 code units, first one is in 0xD800-0xDBFF, second one is in 0xDC00-0xDFFF.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If 2 code units, first one is in 0xD800-0xDBFF, second one is in 0xDC00-0xDFFF.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* First one: 6 fixed bits (0b110110) then 4 bits encoding the Unicode plan (minus one: 1-16 become 0-15) then 6 <del style="font-weight: bold; text-decoration: none;">strong </del>bits inside the plan - note that the plan number is splitted between the two last bits of the first byte and the two first bits of the second byte</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* First one: 6 fixed bits (0b110110) then 4 bits encoding the Unicode plan (minus one: 1-16 become 0-15) then 6 <ins style="font-weight: bold; text-decoration: none;">first </ins>bits <ins style="font-weight: bold; text-decoration: none;">from </ins>inside the plan - note that the plan number is splitted between the two last bits of the first byte and the two first bits of the second byte</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Second one: 6 fixed bits (0b110111) then 10 bits inside the plan</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Second one: 6 fixed bits (0b110111) then 10 <ins style="font-weight: bold; text-decoration: none;">last </ins>bits <ins style="font-weight: bold; text-decoration: none;">from </ins>inside the plan</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Non-private astral planes 0x10000-0xEFFFF are encoded in UTF-16: [\uD800-\uDAFF\uDB00-\uDB7F][\uDC00-\uDFFF]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Non-private astral planes 0x10000-0xEFFFF are encoded in UTF-16: [\uD800-\uDAFF\uDB00-\uDB7F][\uDC00-\uDFFF]</div></td></tr>
<!-- diff cache key wiki_seb35:diff::1.12:old-429834:rev-429875 -->
</table>
Seb35
http://wiki.seb35.fr/Unicode?diff=429834&oldid=prev
Seb35 : additional note
2019-09-11T22:13:41Z
<p>additional note</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fr">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version du 11 septembre 2019 à 22:13</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8">Ligne 8 :</td>
<td colspan="2" class="diff-lineno">Ligne 8 :</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If 2 code units, first one is in 0xD800-0xDBFF, second one is in 0xDC00-0xDFFF.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If 2 code units, first one is in 0xD800-0xDBFF, second one is in 0xDC00-0xDFFF.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* First one: 6 fixed bits (0b110110) then 4 bits encoding the Unicode plan (minus one: 1-16 become 0-15) then 6 strong bits inside the plan</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* First one: 6 fixed bits (0b110110) then 4 bits encoding the Unicode plan (minus one: 1-16 become 0-15) then 6 strong bits inside the plan <ins style="font-weight: bold; text-decoration: none;">- note that the plan number is splitted between the two last bits of the first byte and the two first bits of the second byte</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Second one: 6 fixed bits (0b110111) then 10 bits inside the plan</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Second one: 6 fixed bits (0b110111) then 10 bits inside the plan</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<!-- diff cache key wiki_seb35:diff::1.12:old-429787:rev-429834 -->
</table>
Seb35
http://wiki.seb35.fr/Unicode?diff=429787&oldid=prev
Seb35 : notes about UTF-16
2019-09-11T21:26:36Z
<p>notes about UTF-16</p>
<p><b>Nouvelle page</b></p><div><br />
<br />
<br />
== [[:wikipedia:UTF-16|UTF-16]] ==<br />
<br />
1 or 2 code units of 16 bits = 2 bytes<br />
<br />
If 2 code units, first one is in 0xD800-0xDBFF, second one is in 0xDC00-0xDFFF.<br />
<br />
* First one: 6 fixed bits (0b110110) then 4 bits encoding the Unicode plan (minus one: 1-16 become 0-15) then 6 strong bits inside the plan<br />
* Second one: 6 fixed bits (0b110111) then 10 bits inside the plan<br />
<br />
Non-private astral planes 0x10000-0xEFFFF are encoded in UTF-16: [\uD800-\uDAFF\uDB00-\uDB7F][\uDC00-\uDFFF]<br />
<br />
Astral planes are encoded in UTF-16: [\uD800-\uDBFF][\uDC00-\uDFFF]<br />
<br />
<!--<br />
== [[:wikipedia:UTF-32|UTF-32]] ==<br />
<br />
Number of unused bits in UTF-32:<br />
<br />
<math>1 - \frac{log_2(17 \times 2^{16})}{log_2(2^{32})} = 1 - \frac{log_2(17) + 16}{32} \approx 0,372266786 \approx 37,2266786 %</math><br />
--></div>
Seb35