> inspektera | avkoda | analysera <
// Inspektera Unicode-kodpunkter, kodningar och teckendetaljer
Teckenanalys
Analysera valfri text tecken för tecken.
UTF-8/UTF-16-vy
Se den exakta byte-representationen.
Blockdetektering
Detektera och visa Unicode-block automatiskt.
// OM UNICODE
Hur Unicode fungerar:
Unicode är en universell teckenkodningsstandard.
Exempel:
"A" → U+0041, Decimal 65, UTF-8: 41, UTF-16: 0041
Vanliga användningsfall:
- >Felsöka kodningsproblem
- >Inspektera osynliga tecken
- >Verifiera UTF-8/UTF-16-bytesekvenser
- >Söka Unicode-kodpunkter
- >Analysera emoji-kodning
>> vanliga frågor
Q: What is Unicode?
A: Unicode is a universal character encoding standard that assigns a unique code point to every character from every writing system.
Q: UTF-8 vs UTF-16?
A: UTF-8 uses 1-4 bytes and is ASCII-compatible. UTF-16 uses 2 or 4 bytes and is used by JavaScript and Windows.
Q: What is BMP?
A: The Basic Multilingual Plane (U+0000 to U+FFFF) contains the most commonly used characters.
Q: How many characters?
A: Unicode supports 1,114,112 code points. Over 149,000 are currently assigned.
Q: Code point vs character?
A: A code point is the numeric value (e.g., U+0041). Some visible characters use multiple code points.
// ANDRA SPRÅK
Referenser
Så kontrollerar vi resultaten
Vi kontrollerar verktyget med de automatiska testerna nedan. Exempel visas på originalspråket.
- Verification method
- Check UTF-8 and UTF-16 bytes, including BMP boundaries, supplementary characters and applicable endian/BOM fixtures.
- Comparison reference
- Node.js Buffer, with explicit expected values for other byte orders.
- Verification scope
- These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)
-
text-reliability.test.js
- Unicode viewer: UTF-8 and UTF-16 bytes match Node Buffer across scalar boundaries
Testerna täcker angivna exempel och gränser, inte alla möjliga indata. Återkonvertering och samma bibliotek är inte oberoende verifiering.