debug null value

CH_encoding add the null value handling.