Fixed encoding error in post parameters