Let $G$ be a compact (assumed Hausdorff) group and $\hat{G}$ be the set of all characters of irreducible, finite-dimensional representations of $G$. It might occur that $\hat{G}$ is uncountable. It seems that, as a corollary of the Peter-Weyl theorem, $\hat{G}$ is an orthonormal basis for the Hilbert space of square-integrable class functions $L^2(G)^G$ (with respect to the Haar measure of $G$).
If $\hat{G}$ was countable and $f \in L^2(G)^G$, I'd have a Fourier expansion $f=\sum_{\hat{G}} \langle f, \chi \rangle \chi$. I'd like to do the same with uncountable $\hat{G}$. So I'd have to build a measure space $(\Omega, \Sigma, \mu)$ such that $\hat{G}$ is measurable and $f= \int_{\hat{G}} \langle f, \chi \rangle \chi d\mu$. Is there a natural choice for this measure? How could I make such Fourier expansion?
P.S.: I'm interested in the case where $G$ is not abelian.