Fix unicode support for translate command