Character Orthogonality for Compact Groups