Fixing ill-formed UTF-16 strings with SIMD instructions
Abstract
UTF-16 is a widely used Unicode encoding representing characters with one or two 16-bit code units. The format relies on surrogate pairs to encode characters beyond the Basic Multilingual Plane, requiring a high surrogate followed by a low surrogate. Ill-formed UTF-16 strings -- where surrogates are mismatched -- can arise from data corruption or improper encoding, posing security and reliability risks. Consequently, programming languages such as JavaScript include functions to fix ill-formed UTF-16 strings by replacing mismatched surrogates with the Unicode replacement character (U+FFFD). We propose using Single Instruction, Multiple Data (SIMD) instructions to handle multiple code units in parallel, enabling faster and more efficient execution. Our software is part of the Google JavaScript engine (V8) and thus part of several major Web browsers.
Growth and citations
This paper is currently showing No growth state computed yet..
Citation metrics and growth state from academic sources (e.g. Semantic Scholar). See About for details.
Cited by (0)
No citing papers yet
Papers that cite this one will appear here once data is available.
View citations page →References (0)
No references in DB yet
References for this paper will appear here once ingested.
Related papers in Other Computer Science
- WheatAI v1.0: An AI-Powered High Throughput Wheat Phenotyping Platform0 citations
- From Lagging to Leading: Validating Hard Braking Events as High-Density Indicators of Segment Crash Risk0 citations
- S-BLE: A Participatory BLE Sensory Data Set Recorded from Real-World Bus Travel Events0 citations
Growth transitions
No transitions recorded yet
Growth state transitions will appear here once computed.