I think this result is used in something I am reading though it's not completely clear to me. I am not very sure that if it's true, it should be. The statement is the following:
A nontrivial character of a non-compact abelian group is not in $L^2$.
Any help is appreciated.