Forum Discussion
Power BI Custom Visual in R problem with international characters
That sounds like you use 1252 (Western) character set when you should be using 65001 (UTF-8)
hi again I have added some more details about my case you responded. I can perhaps look at the new added information to see if there are anything you can look at.
regards geir
- lbendlin6 years agoSuper User
I think you want to look at your source data. The encoding may already be broken at the source.
- Anonymous6 years agoNot applicable
Here you can see my code run in RStudio. The data is dumped from the Power BI desktop. Here you can see the legends and the x axis title are showing the characters correctly. It can be that when the custom component run the code and receiving the data. It can be different. But I don't know if it is possible to debug the R code in Visual Code when hitting the refresh button in my power bi report. I don't know how to discover this except make my code write to a file
- Anonymous6 years agoNot applicable
- Hi again
- it is strange. On the title line on the x axis the is the text hard coded. So it can't be that the source measure text is the reason for this. It must be something in the encoding an translation back to Power bi. And this also happens with other R visual components on Microsoft visual store