Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec12/value-types.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h3><a name="string-use"></a>Usage</h3>

[box type="note"]The <em>char</em> type is synonymous with 1-byte, UTF8 encoded value (decimal values 0-127). A <em>char</em> value <strong>must not</strong> have a decimal value larger than 127.[/box]

The <em>char</em> type is functionally identical to the <a href="#numeric"><em>uint8</em> type</a>, but semantically is meant to represent a character and not a numeric value.
The <em>char</em> type is functionally identical to the <a href="#numeric"><em>uint8</em> type</a>, but semantically is meant to represent a string consisting of a single ASCII character, not a numeric value.
<h3><a name="string-example"></a>Example</h3>
JSON snippet:
<pre lang="Javascript">{
Expand Down