added char_type/2 - resolves #70