From 0a025f328141b5f98a8f1d9635510433783d08e4 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Tue, 3 Aug 2021 07:54:02 +0200 Subject: Fix other h2m unhandled (#1863) * Fixes some elements per Will's review * Remove useless spans from rich text copy in Kuma --- .../reference/global_objects/string/fromcharcode/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/fr/web/javascript/reference/global_objects/string') 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

Pour les caractères du plan multilingue de base, UTF-16 utilise une seule unité de code :

String.fromCharCode(65,66,67); // ABC
-String.fromCharCode(0x2014);   // "—"
+String.fromCharCode(0x2014);   // "—"
 String.fromCharCode(0x12014);  // "—" également, le 1 a été tronqué
 String.fromCharCode(8212);     // renvoie également "—" car 8212
-                               // est la forme décimale
+                               // est la forme décimale
 

Les caractères hors de ce plan utilisent deux unités de code (on parle de surrogate pair) :

-- cgit v1.2.3-54-g00ecf