I think I read somewhere that all continuous homomorphisms from $\mathbb{S}^{1}$ to itself are of the form $z \mapsto z^{n}$ for some $n \in \mathbb{Z}$. Is this result true? I am not able to prove it. Nor am I able to find any counterexample.
What I have done so far is:
If for some $\theta \in [0,2\pi)$, $e^{\iota\theta}$ goes to $e^{\iota\phi}$ for some $\phi \in [0,2\pi)$, then $e^{\iota n\theta}$ goes to $e^{\iota n \phi}$ for all $n \in \mathbb{Z}$. I thought I could take $n$ to be any rational here and then extend to reals by continuity; but that is not true as a multiple of $2\pi$ may creep in.
Next I tried something using $n^{th}$ roots of unity; but again apart from a number of cases, I could not go very far.
Could someone point me in the right direction?