Small fixes
A selection of 80 fixes from 174 pull requests.
60.Half a Unicode character
Parsing echo \u{1F600} tail split the emoji and corrupted the next argument. An astral character occupies two UTF-16 units; advance the cooked cursor accordingly.
12234567// - Advancing the template index an extra code unit for astral code points// - Advancing the raw template index past the unicode escape sequencerawIndex = rawTemplate.indexOf("}", rawIndex + 3)const end = rawTemplate.indexOf("}", rawIndex + 3)if (parseInt(rawTemplate.slice(rawIndex + 3, end), 16) > 0xffff) { templateIndex += 1}rawIndex = end