cleanup of unicode conversion in 'copy to clipboard'