Guides Unicode et texte pour développeurs
Guides pratiques pour développeurs sur Unicode, l'encodage du texte, les points de code, les clusters de graphèmes, l'échappement et la gestion des caractères dans les langages de programmation.
Rechercher dans les guides pour développeurs
Parcourir par tâche
Résolvez des défis de programmation concrets en traitement de texte, comptage de caractères et conversions.
Measure String & Emoji Length Accurately
Why "👨👩👧👦".length is 11 in JavaScript, and how to use Intl.Segmenter or Array.from for true grapheme cluster counts.
Validate Text & Match Emoji in Regex
Using \p{Extended_Pictographic} and \p{L} with the ES2024 /v flag to safely match international alphabets and emoji.
Inspect UTF-8 Byte Serialization
Understand the 1-to-4 byte allocation, continuation byte bitmasks (10xxxxxx), and variable-length bit distribution.
Encode URL Query Parameters Correctly
Component vs fragment percent-encoding, space as %20 vs +, and preventing double-encoding vulnerabilities.
Escape Characters in HTML & XML
When to use named entities vs hex numeric character references, and how to escape ampersands without breaking entities.
Handle UTF-16 Surrogate Pairs
How characters outside the BMP (U+10000..U+10FFFF) are encoded as high (D800..DBFF) and low (DC00..DFFF) surrogates.
Insert Special Characters in CSS
Using backslash hex escapes in CSS content: "..." properties, handling trailing space delimiters, and fallback fonts.
Compare & Normalize Unicode Strings
Resolve visual duplicates: NFC vs NFD, canonical equivalence (é as U+00E9 vs e + U+0301), and secure identifier storage.
Guides par langage de programmation
Architectures de chaînes, comportement à l'exécution et pièges Unicode propres à chaque langage.
JavaScript
Surrogate pairs, code points, UTF-16 code units, Intl.Segmenter grapheme clusters, and RegExp property escapes.
HTML5 / Web Platform
Named character references (©, &), decimal NCRs (©), and hex NCRs (©) per WHATWG HTML.
CSS3 / Fonts
Backslash hex escapes (\00a9), unicode-range descriptors, pseudo-elements, and web font glyph coverage.
Cross-Language Standards
Foundational Unicode architecture, UTF-8 bit distribution, surrogate pair math, and percent-encoding algorithms.
Guides développeur essentiels et populaires
Documentation technique fondamentale souvent consultée par les ingénieurs web et logiciels.
JavaScript Unicode Escape Sequences — Developer Reference
Master Unicode in JavaScript: ES6 \u{...} escapes, UTF-16 surrogate pairs, String.fromCodePoint, codePointAt, and Intl.Segmenter.
Unicode in Regular Expressions — Developer Reference
Match international text, scripts, and emoji using Unicode property escapes (\p{L}, \p{Script}), \p{Extended_Pictographic}, and the /u and /v flags.
HTML Character Entities — Developer Quick Reference
Copy-ready HTML named and numeric references for common symbols, operators, arrows, and currency signs with escaping rules.
Character Encoding Guide — From ASCII to UTF-8 and Unicode
Understand character encoding from the ground up: ASCII, ISO-8859-1, Windows-1252, and the modern dominance of UTF-8.
Unicode in CSS — Content Property, Escaping, and @font-face
How to use Unicode characters in CSS: content property escaping (backslash-hex), unicode-range descriptors, and font fallback behavior.
Understanding Unicode — A Complete Beginner Guide
A foundational overview of the Unicode architecture: the 1,114,112 code point space, planes, blocks, scripts, and normalization.
Concepts Unicode et traitement du texte
Architecture fondamentale régissant les représentations de caractères, la segmentation et l'équivalence.
Character Encoding Guide — From ASCII to UTF-8 and Unicode
Understand character encoding from the ground up: ASCII, ISO-8859-1, Windows-1252, and the modern dominance of UTF-8.
Understanding Unicode — A Complete Beginner Guide
A foundational overview of the Unicode architecture: the 1,114,112 code point space, planes, blocks, scripts, and normalization.
The Complete Emoji Guide — History, Usage, and Compatibility
How emoji work under the hood: Zero-Width Joiner (ZWJ) sequences, skin tone modifiers, flag sequences, and presentation selectors.
Références d'encodage et de sérialisation
Spécifications normatives au niveau des octets pour la communication web et applicative moderne.
UTF-8 Encoding Guide — Bytes, Scalar Values & Bit Distribution
Exhaustive developer guide to UTF-8 serialization: 1-to-4 byte allocation, binary bit templates, bitwise encoding algorithms, and validation rules.
UTF-16 Encoding & Surrogate Pairs Developer Reference
Deep dive into UTF-16 code units, high/low surrogate pair math (D800..DFFF), endianness (BE/LE), and byte order mark (BOM) handling.
UTF-32 Fixed-Width Character Encoding Guide
Understanding 32-bit fixed-width Unicode encoding: direct code point mapping, memory trade-offs, and internal CPU representations.
URL Encoding & Percent-Encoding Reference
Authoritative WHATWG URL percent-encoding reference: byte-level %HH serialization, percent-encode sets, %20 vs +, and form encoding.
HTML Named Character References Reference
Exhaustive directory of all 2,231 WHATWG HTML character entities, decimal/hex NCRs, and legacy without-semicolon rules.
Outils pour développeurs
Postes de travail interactifs pour inspecter des caractères, normaliser des chaînes et convertir des séquences d'échappement.
Unicode Normalizer Tool
Compare and convert strings across all four Unicode normalization forms: NFC, NFD, NFKC, and NFKD in real time.
UTF-8 Byte Inspector
Convert arbitrary Unicode text into binary, hex octets, decimal bytes, and inspect surrogate pairs and bit templates.
HTML Entity Encoder & Decoder
Bidirectional HTML entity tool: named entities, decimal NCRs, and hexadecimal character references with context controls.
URL Percent Encoder & Decoder
Encode and decode URL components with context-aware percent-encode sets and %20 / + options.
Unicode Character Inspector
Inspect arbitrary strings at the character level: code point, UTF-8/16 bytes, block, category, and script.
Interactive Character Map
Browse, inspect, and copy characters from all Unicode blocks with direct code point lookup.
Normes faisant autorité et provenance des sources
Toute la documentation technique, les extraits de code et les tableaux d'encodage de CopyCharacter sont vérifiés par rapport aux spécifications normatives du Consortium Unicode (Unicode 17.0), des standards vivants URL et HTML du WHATWG, d'ECMAScript (ECMA-262) et du World Wide Web Consortium (W3C).