Q: Strange unexpected tokens inside the string I have two simmingly identical strings in two data frames. For example, both
df_cont$winner[20]
df_assist$winner[609]

return "ivarovskaya"
But the comparison
identical(df_cont$winner[20], df_assist$winner[609])

returns FALSE.
So, dplyr joins don't work on them and when I count characters in those strings, I get different numbers.
Then I found out that copying those strings from View() panel into Rscript results in this:

Output of problem variables looks like this:
> df_cont$winner[20]
[1] "iva­rov­ska­ya"
> df_assist$winner[609]
[1] "ivarovskaya"
> nchar(df_cont$winner[20])
[1] 14
> nchar(df_assist$winner[609])
[1] 11

dput() function also results in identical strings:
> dput(df_cont$winner[20])
"iva­rov­ska­ya"
> dput(df_cont$winner[20])
"iva­rov­ska­ya"

How can I get rid of those strange red dots?
