[Bug 932010] New: passing string to UI changes encoding