I'm dealing with a text where I find UTF-16 encoded as UTF-8 and I am unable to translate from one to the other in the R language.
For example, and looking at this codepoint (https://codepoints.net/U+D83D) representation in UTF-8 as a text string "ED A0 BD"
and I want to convert it to also a text string"D8 3D"
.
How can I achieve this?
More info on what I want to achieve: stackoverflow.com/questions/35670238/emoji-in-r-utf-8-encoding