fixed html encode for degree (&deg; to \xB0)