use bytesize instead of character length (matters for special characters)