Skip to content
  • Cyril Roelandt's avatar
    CSV export: add UTF-8 BOM header. · f626d298
    Cyril Roelandt authored
    When exporting a poll to CSV, no BOM character is written. Most applications can
    properly detect the required encoding, but some do not, and might find it
    helpful to be able to read a BOM character.
    
    --
    Comment added 2019-04-16, nico@bou.io:
    
    The issue is specifically with Excel that assumes Latin-1 by default, but switches to utf-8 if a BOM is present. On the other hand, LibreOffice and other apps seem to behave correctly with a BOM.
    f626d298