rclipboard can not handle encoding of text

I built an R shiny app that uses rclipboard library where the content of a text area input is passed to the rclipButton.
i.e. rclipButton( , , clipText=input$textAreaInputId , , ..)
But when this copied text is pasted somewhere, the Unicode encoding doesn't work.
‘ becomes ‘
’ becomes ’ ... and so on ....
Some extended ASCII characters like curly single and double quotes get changed into some Latin encoding. I changed the encoding of the text using Encoding(name_of_variable)="UTF-8" and passed to the rclipButton() function, but when the text is pasted the encoding doesn't change. It gets converted into latin encoding like previous.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.