Now, in GBK character set, different PBI versions, or R version from 3.4.0,3.4.3,3.4.4,3.5.1 all show this error :
### R script error.
Loading required package: XML
Loading required package: htmlwidgets
Loading required package: DT
Error: 1: Input is not proper UTF-8, indicate encoding !
Bytes: 0xF5 0x3C 0x55 0x2B
2: error parsing attribute name
3: attributes construct error
4: Couldn't find end of Start Tag U line 94
https://community.powerbi.com/t5/Issues/How-to-fix-this-R-DataTable-script-error/idc-p/479683#M29927
Now, in GBK character set, different PBI versions, or R version from 3.4.0,3.4.3,3.4.4,3.5.1 all show this error :
### R script error.
Loading required package: XML
Loading required package: htmlwidgets
Loading required package: DT
Error: 1: Input is not proper UTF-8, indicate encoding !
Bytes: 0xF5 0x3C 0x55 0x2B
2: error parsing attribute name
3: attributes construct error
4: Couldn't find end of Start Tag U line 94
https://community.powerbi.com/t5/Issues/How-to-fix-this-R-DataTable-script-error/idc-p/479683#M29927