I was proving a theorem in probability theory which was related to the characteristic function (hence the Fourier-analysis tag as well), and I showed that it converges uniformly on closed intervals, and I think that is sufficient, but I wanted to check. Thank you very much in advance!
Edit:
Thanks to FShrike, I know the answer, but just to expand on it a bit further: So one direction of the equivalence is easy, if it converges on compacts it converges on closed intervals, as they are compact. The other direction is by what FShrike said, assume we have convergence on closed intervals, if $K$ is compact, in $R^n$ this is equivalent to closed and bounded, so it’s included in a closed interval, so the uniform convergence will also hold on the subset $K\subset[a,b]$.
Yes. Any compact set in $\Bbb R$ is contained in some $[a,b]$ (for finite reals $a<b$) and if a sequence of functions converges uniformly on $[a,b]$ it converges uniformly on any subset of $[a,b]$.