The max string now uses Character.MAX_VALUE converted to UTF-8 to calculate the max bytes per char in UTF-8.