Skip to content

Commit

Permalink
Update mime.R (#335)
Browse files Browse the repository at this point in the history
remove argument not used sprintf("=?utf-8?B?%s?=", base64enc::base64encode(charToRaw(str)), 0)
  • Loading branch information
pabecer authored Jul 10, 2024
1 parent 5a44dcb commit 081853a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mime.R
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ header_unstructured <- function(

if (encode_unicode) {
str <- enc2utf8(str)
str <- sprintf("=?utf-8?B?%s?=", base64enc::base64encode(charToRaw(str)), 0)
str <- sprintf("=?utf-8?B?%s?=", base64enc::base64encode(charToRaw(str)))

} else {

Expand Down

0 comments on commit 081853a

Please sign in to comment.