Needs work
Project:
Views Bonus Pack
Version:
6.x-1.x-dev
Component:
Views Export
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2009 at 12:01 UTC
Updated:
6 Dec 2009 at 19:29 UTC
Hi
Views export is not displaying accents (é, à, è, ...) properly in csv export.
Attached patch fixes it both in header and rows (solution taken from webform export module)
Could you please review and commit it if patch is OK ?
Laurent
| Comment | File | Size | Author |
|---|---|---|---|
| export.patch | 1.02 KB | agence web coheractio |
Comments
Comment #1
neclimdulThis seems wrong. If nothing other than earlier in the function we run
drupal_set_header('Content-type: text/csv; charset=utf-8');Comment #2
agence web coheractio commentedThere may be a better alternative, but at least this solved the accent issues.
FYI this is a very common issue on web applications (Google Adwords has exactly the same issue with accents when exporting a csv...).
Comment #3
agence web coheractio commentedComment #4
neclimdulI tried this patch and got È, ‡, Ë instead of é, à, è in excel so don't think this really works.