USVString corresponds to the set of all possible sequences of unicode scalar values. USVString maps to a 字符串 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 相当于 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 , (�).

规范

规范 状态 注释
Web IDL
The definition of 'USVString' in that specification.
候选推荐 初始定义。

另请参阅

元数据

  • 最后修改: