Skip to content

Commit 16413a9

Browse files
committed
Changed wording surrounding text-based media types and JSON strings
1 parent 1ea74dd commit 16413a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/json-schema-hypermedia.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
</t>
340340

341341
<t>
342-
If the "binaryEncoding" property is not set, but the instance value is a string, then the value of this property SHOULD specify a text document type, and the character set SHOULD be the character set of the JSON string value (for which the default is Unicode).
342+
If the "binaryEncoding" property is not set, but the instance value is a string, then the value of this property SHOULD specify a text document type, and the character set SHOULD be the character set into which the JSON string value was decoded (for which the default is Unicode).
343343
</t>
344344
</section>
345345
</section>
@@ -373,7 +373,7 @@
373373
}
374374
]]>
375375
</artwork>
376-
<postamble>Instances described by this schema should be strings containing HTML, using the UTF-8 character set.</postamble>
376+
<postamble>Instances described by this schema should be strings containing HTML, using whatever character set the JSON string was decoded into (default is Unicode).</postamble>
377377
</figure>
378378
</section>
379379
</section>

0 commit comments

Comments
 (0)