added function bh_isascii()