Palestinians all but certain to win formal recognition as a state at UN today