Equilibrium charge distribution on weak polyelectrolytes