【问题标题】:How can I detect non UTF-8 encoding in RStudio如何在 RStudio 中检测非 UTF-8 编码
【发布时间】:2017-04-20 17:41:02
【问题描述】:

我有一个类似的脚本

a <- 1
# A very long comment, perhaps copy paste from somewhere containing the word fit.

我想搜索非 UTF-8 编码。如何在 RStudio 中执行此操作?

【问题讨论】:

  • 非 UTF-8 编码实际上是所有 ASCII 字符。你知道吗?

标签: rstudio


【解决方案1】:

我意识到,答案非常简单:只需转到 Edit => Find (Strg + F) 并在搜索栏中启用 Regex 字段搜索 [^\x00-\x7F] +。

【讨论】:

    猜你喜欢
    • 2020-09-15
    • 2012-03-07
    • 2015-02-17
    • 1970-01-01
    • 2013-10-30
    • 2012-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多