我正在使用Big查询通过BigQuery Java API将数据提取为csv文件。 提取数据时,某些法语字符可能由于编码问题而无法正确导出。 我发现了CSVOptions类,该类具有设置编码的方法。但是我无法将其设置为JobConfigurationExtract对象。 任何帮助都会很棒。
答案 0 :(得分:0)
CsvOptions class is used for importing data from CSV to BigQuery, for your case this doesn't apply.
I've tried to import special French characters to BigQuery and export them as CSV. I confirm that I haven't faced any improper characters. I assume your issue is related with the application you view the CSV file. You may need to choose the right encoding for that application.