From dba2ee038f02a5dde9020612dff5828ccddb4400 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Tue, 4 Jul 2023 16:07:01 +0900 Subject: [PATCH] Update description of strings in Blob array param value (#27735) Fixes https://github.com/mdn/content/issues/25282 --- files/en-us/web/api/blob/blob/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/blob/blob/index.md b/files/en-us/web/api/blob/blob/index.md index f1559ed3b21c41b..84ad05b46e889d6 100644 --- a/files/en-us/web/api/blob/blob/index.md +++ b/files/en-us/web/api/blob/blob/index.md @@ -27,7 +27,7 @@ new Blob(array, options) object such as an {{jsxref("Array")}}, having {{jsxref("ArrayBuffer")}}s, {{jsxref("TypedArray")}}s, {{jsxref("DataView")}}s, {{domxref("Blob")}}s, strings, or a mix of any of such elements, that will be put inside the {{domxref("Blob")}}. - Note that strings here are encoded as UTF-8, unlike the usual JavaScript UTF-16 strings. + Strings should be well-formed Unicode, and lone surrogates are sanitized using the same algorithm as {{jsxref("String.prototype.toWellFormed()")}}. - `options` {{optional_inline}} - : An object which may specify any of the following properties: