Weber's theorem (Algebraic curves)