fortmate commented on issue #1519: Choose encoding when export csv
URL: 
https://github.com/apache/incubator-superset/issues/1519#issuecomment-603758342
 
 
   For those who are still suffering from csv export encoding matters,
   Try editting /views/core.py
   Look for the term
   'Responce(csv,'
   You'll find it under def csv.
   Add 'Csv' in front of the term to show like
   'CsvResponse(csv,'
   Save it and add below lines to your Superset_config.py:
   CSV_EXPORT = {
   'encoding': 'utf_8_sig',
   }
   
   The encoding should be changed accodingly to your requirement.
   Then run superset init and restart.
   Now you should be able to download properly encoded csvs.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to