You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2020/08/12 05:43:00 UTC

[jira] [Updated] (SPARK-32289) Chinese characters are garbled when opening csv files with Excel

     [ https://issues.apache.org/jira/browse/SPARK-32289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuming Wang updated SPARK-32289:
--------------------------------
    Attachment: Workaround.png

> Chinese characters are garbled when opening csv files with Excel
> ----------------------------------------------------------------
>
>                 Key: SPARK-32289
>                 URL: https://issues.apache.org/jira/browse/SPARK-32289
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Priority: Major
>         Attachments: Workaround.png, garbled.png
>
>
> How to reproduce this issue:
> {code:scala}
> spark.sql("SELECT '我爱中文' AS chinese").write.option("header", "true").csv("/tmp/spark/csv")
> {code}
>  !garbled.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org