Null character treatment