Encoding issues for UTF8 CSV file when opening Excel and TextEdit

前端 未结 7 1835
余生分开走
余生分开走 2020-12-08 01:16

I recently added a CSV-download button that takes data from database (Postgres) an array from server (Ruby on Rails), and turns it into a CSV file on the client side (Javasc

相关标签:
7条回答
  • 2020-12-08 01:46

    It could be a problem in your server encoding.

    You could try (assuming locale english US) if you are running Linux:

    sudo locale-gen en_US en_US.UTF-8
    dpkg-reconfigure locales
    
    0 讨论(0)
提交回复
热议问题