Solar charger behind heat-reflecting windscreen
Generally speaking, solar cells harness visible light for energy and do not make use of other parts of the electromagnetic spectrum (such as UV or IR).
As mkeith points out, the power generation could still be reduced depending on how much near IR light the cells can make use of and how much visible light is reflected by the windscreen.