55
edits
m (→Design Goals) |
m (→Design Goals) |
||
| Line 5: | Line 5: | ||
The design goals for the new StringObject class are | The design goals for the new StringObject class are | ||
# Fixed-width strings with fixed widths of 8, 16 and 32 bits. Widths are either automatic (based on UTF-8 input), or manual (as created). | # Fixed-width strings with fixed widths of 8, 16 and 32 bits. Widths are either automatic (based on UTF-8 input), or manual (as created). | ||
#* 8-bit strings contain the first Unicode | #* 8-bit strings contain the first 256 Unicode characters. UTF-8 is not supported in strings. | ||
#* 16-bit strings are UTF-16, including surrogate pairs. | #* 16-bit strings are UTF-16, including surrogate pairs. | ||
# String contents may be based upon static data. | # String contents may be based upon static data. | ||
edits