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

kingandy’s picture

Until (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.

kingandy’s picture

Note 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.

neclimdul’s picture

Status: Active » Closed (duplicate)

I've committed the other issue. Hopefully that fixes it. Reopen if there are still problems.