Initial support for char = codepoint in chunk expressions

Support isn't complete; in particular, the select command selects by code units, resulting in problems when this splits a surrogate pair.