Ruby on rails Android版Google Sheets中csv文件中缺少字符

Ruby on rails Android版Google Sheets中csv文件中缺少字符,ruby-on-rails,ruby,csv,Ruby On Rails,Ruby,Csv,在我的Ruby on Rails应用程序中,我将数据导出到csv,其中一个标题如下所示: We’ve included a link to a helpful video. 当我在我的电脑上打开它时,它看起来不错,但当我在Android的Google Sheets中打开它时,它看起来是这样的: We’ve included a link to a helpful video. 以下是我的CSV导出配置的外观: CSV.open(file_name, 'wb', encoding: 'u

在我的Ruby on Rails应用程序中,我将数据导出到csv,其中一个标题如下所示:

We’ve included a link to a helpful video. 
当我在我的电脑上打开它时,它看起来不错,但当我在Android的Google Sheets中打开它时,它看起来是这样的:

We’ve included a link to a helpful video. 

以下是我的CSV导出配置的外观:

CSV.open(file_name, 'wb', encoding: 'utf-8') do |csv|
  csv << column_names

  csv << data
end
CSV.open(文件名'wb',编码:'utf-8')do|CSV|

csv一旦在本地看起来不错,ruby部分就不相关了。这不是一个标准的撇号,它是一个unicode右单引号(
\u2019
),不知道你想如何处理它