CLEANUP use literals from terminals where possible, UTF-8 bytes <-> code-points in util