Computing minimal generators of the ideal of a general projective curve