Added another needed unicode check when logging parameters.