bookdown编码设置为LATIN1而不是UTF-8

问题描述 投票:0回答:1

为什么当我使用build book按钮制作书籍时,它会将我的编码设置为LATIN1而不是UTF-8?另外,每当我打开一个章节(.Rmd文件)时,我都会用UTF-8编码重新打开它,因为即使我刚刚将其保存在UTF-8中,它也会变回LATIN1。

==> rmarkdown::render_site(output_format = 'bookdown::gitbook', encoding = 'LATIN1')
r bookdown
1个回答
0
投票

[将我的项目的编码设置为LATIN1(项目选项-代码编辑-文本编码)。

© www.soinside.com 2019 - 2024. All rights reserved.