@@ -57,11 +57,11 @@ tb[1] = of_base64_encode_table[(sb & 0x03F000) >> 12]; tb[2] = of_base64_encode_table[(sb & 0x000FC0) >> 6]; tb[3] = of_base64_encode_table[sb & 0x00003F]; [ret appendCString: tb - encoding: OF_STRING_ENCODING_ASCII + encoding: OFStringEncodingASCII length: 4]; } switch (rest) { case 1: @@ -68,11 +68,11 @@ tb[0] = of_base64_encode_table[buffer[i] >> 2]; tb[1] = of_base64_encode_table[(buffer[i] & 3) << 4]; tb[2] = tb[3] = '='; [ret appendCString: tb - encoding: OF_STRING_ENCODING_ASCII + encoding: OFStringEncodingASCII length: 4]; break; case 2: sb = (buffer[i] << 16) | (buffer[i + 1] << 8); @@ -81,11 +81,11 @@ tb[1] = of_base64_encode_table[(sb & 0x03F000) >> 12]; tb[2] = of_base64_encode_table[(sb & 0x000FC0) >> 6]; tb[3] = '='; [ret appendCString: tb - encoding: OF_STRING_ENCODING_ASCII + encoding: OFStringEncodingASCII length: 4]; break; }