In case he didn't mention the gender on a previous sentence or there is not any other clue indicating a female person then he* should have used "he" if the writer wanted to abide by the grammar rules...