Added wstrip to support various encoding