change string encoding for wave dash problem