Use consistent byte/char offsets when parsing invoice HRPs