Proof (character takes value in algebraic integers)

Diagonalising $ρ(g_i)$, the eigenvalues of $ρ(g_i)$ are roots of unity. Thus $χ(g_i)$ is a sum of roots of unity, so is an algebraic integer.