strip parameter strings from unicode to avoid panicking later on