aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/javascript/reference/global_objects/string/fromcharcode
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-08-03 07:54:02 +0200
committerGitHub <noreply@github.com>2021-08-03 07:54:02 +0200
commit0a025f328141b5f98a8f1d9635510433783d08e4 (patch)
treef94d055dd1bc509ae5f3f7252342e89f10c6581e /files/fr/web/javascript/reference/global_objects/string/fromcharcode
parentb3400a41e5ff084784e4557bb07c0a351a34d477 (diff)
downloadtranslated-content-0a025f328141b5f98a8f1d9635510433783d08e4.tar.gz
translated-content-0a025f328141b5f98a8f1d9635510433783d08e4.tar.bz2
translated-content-0a025f328141b5f98a8f1d9635510433783d08e4.zip
Fix other h2m unhandled (#1863)
* Fixes some elements per Will's review * Remove useless spans from rich text copy in Kuma
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/string/fromcharcode')
-rw-r--r--files/fr/web/javascript/reference/global_objects/string/fromcharcode/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/string/fromcharcode/index.html b/files/fr/web/javascript/reference/global_objects/string/fromcharcode/index.html
index c1a6f56e6e..db155abb0d 100644
--- a/files/fr/web/javascript/reference/global_objects/string/fromcharcode/index.html
+++ b/files/fr/web/javascript/reference/global_objects/string/fromcharcode/index.html
@@ -43,10 +43,10 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/String/fromCharCode
<p>Pour les caractères du plan multilingue de base, UTF-16 utilise une seule unité de code :</p>
<pre class="brush:js">String.fromCharCode(65,66,67); // ABC
-String.fromCharCode(0x2014); // "<span class="message-body-wrapper"><span class="message-flex-body"><span class="devtools-monospace message-body"><span class="objectBox objectBox-string">—"
+String.fromCharCode(0x2014); // "—"
String.fromCharCode(0x12014); // "—" également, le 1 a été tronqué
String.fromCharCode(8212); // renvoie également "—" car 8212
- // est la forme décimale</span></span></span></span>
+ // est la forme décimale
</pre>
<p>Les caractères hors de ce plan utilisent deux unités de code (on parle de <em>surrogate pair</em>) :</p>