When a person charged with one offence may be convicted of a different offence
177. If in the case mentioned in section 176' the accused is charged with one offence and it appears in evidence that he committed a different offence for which he might have been charged under the provisions of that section, he may be convicted of the offence which he is shown to have committed although he was not charged with it. |