The issue being that lenChars is in chars not bytes here?