In Localhost it runs properly but on live serve it does not get encode into right charset. 