[core] Make sure we send unicode

Didn't we have code to do that before?