Assume utf8 inputs for SMP