Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
Unicode text
A protocol allows at most 64 UTF-8 bytes for a display label. Which check enforces that c…
from Unicode text
Node 24
beginner
3 min
A protocol allows at most 64 UTF-8 bytes for a display label. Which check enforces that contract?
text.length <= 64
[...text].length <= 64
new TextEncoder().encode(text).length <= 64
[...new Intl.Segmenter("en", { granularity: "grapheme" }).segment(text)].length <= 64
Check
Ask AI about this kata
Report an error
next kata
A French Intl.Collator with sensitivity: "base" returns 0 for two account names. What can…
Quiz
A new version is available
Reload