この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。
USVString
corresponds to the set of all possible sequences of unicode scalar values. USVString
maps to a String
when returned in JavaScript; it's generally only used for APIs that perform text processing and need a string of unicode scalar values to operate on. USVString
is equivalent to DOMString
except for not allowing unpaired surrogate codepoints. Unpaired surrogate codepoints present in USVString
are converted by the browser to Unicode 'replacement character' U+FFFD
, (�).
Specifications
Specification | Status | Comment |
---|---|---|
Web IDL The definition of 'USVString' in that specification. |
Candidate Recommendation | Initial definition. |
See also
String
DOMString
CSSOMString
StringView
– a C-like representation of strings based on typed arrays- Binary strings