Measuring C-odd correlations at lepton-proton and photon-proton collisions