assume utf8 encoding for incoming byte strings