No person charged with any crime and called as a witness in his own behalf, shall be asked, or if asked, shall be required to answer, any question tending to show that he has committed, or been charged with, or been convicted of any offense other than the one wherewith he shall then be charged, or tending to show that he has been of bad character or reputation unless:
42 Pa.C.S. § 5918