We show that in many cases, the automorphism group of a curve and the
permutation automorphism group of a corresponding AG code are the same. This
generalizes a result of Wesemeyer beyond the case of planar curves.Comment: added a reference, fixed error in remark