Hi,
This is normal as \x00\ is an alias for null definition, so if the hostname doesn't use the whole set of registers, empty registers are filled with nulls, in a result, you're getting \x00\ values after your hostname repeating.
This will not change unless there will be a requirement from someone to develop a different data type, but for now, you can only hope this may change in the future.
EB.