Closed (duplicate)
Project:
Views Bonus Pack
Version:
5.x-1.x-dev
Component:
Views Export
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2007 at 10:01 UTC
Updated:
7 Jan 2009 at 07:47 UTC
Maybe only Germans have that problem - but in order to get it work with diacritical marks, i need to implement an utf8_decode-Function.
I implemented it just like this:
Line 184
$output=utf8_decode($output);
and Line 206
$table=utf8_decode($table);
regards
Christian
Comments
Comment #1
kingandyUntil (unless?) this gets implemented in the module proper, people who wish to avoid hacking their copy of the module may prefer to override it using a theme function - copy the theme_views_bonus_export_csv() and/or theme_views_bonus_export_doc() functions into your template.php file, change the names to phptemplate_views_bonus_export_csv() and phptemplate_views_bonus_export_doc() respectively, and add the utf_decode() steps (above) before the respective print statements.
Comment #2
kingandyNote that there appear to be some more suggestions for changing character encoding on #187774: Provide correct CSV encoding and headers, which also raises the possibility of approaching the problem from the other direction and informing Excel that the file is encoded in UTF-8.
Comment #3
neclimdulI've committed the other issue. Hopefully that fixes it. Reopen if there are still problems.