We consider the inverse scattering problem of determining the shape and the material properties of a thin dielectric infinite cylinder having an open arc as cross section from knowledge of the TM-polarized scattered electromagnetic field at a fixed frequency. We investigate two reconstruction approaches, namely the linear sampling method and the reciprocity gap functional method, using far field or near field data, respectively. Numerical examples are given showing the efficaciousness of our algorithms.