[英]How to truncate (ö, é etc.) efficiently from R to CSV to HTML?
I create some data in R (using R studio) that I export as a csv.我在 R(使用 R studio)中创建了一些数据,然后将其导出为 csv。 This cdv will then be uploaded to HTML.
这个 cdv 然后将被上传到 HTML。
However, I always get bugs with symbols like é and ö and ä.但是,我总是遇到带有 é 和 ö 和 ä 等符号的错误。
Is there a way I can "code" accordingly in my R file so in the HTML will look right, ie readable like é/ä/ö/ü....有没有办法可以在我的 R 文件中相应地“编码”,以便在 HTML 中看起来正确,即可读性类似于 é/ä/ö/ü....
Thank you!谢谢!
You need to encode special characters, eg instead of ä
, you need to put ä
您需要对特殊字符进行编码,例如,您需要输入
ä
而不是ä
ä
. .
You can find the full list here: https://dev.w3.org/html5/html-author/charref您可以在此处找到完整列表: https : //dev.w3.org/html5/html-author/charref
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.