Decode strings from utf before sending them to repec.

From #6653.