Problems with umlaut

Fragment of a discussion from Help talk:CSV format

I have the same problem with Excel 2013. Adding the line

$result = chr(239) . chr(187) . chr(191) . $result;

doesn't help. Has anyone an idea how to open the csv-file in Excel with the right character set?

15:11, 12 March 2015

Instead of hacking SMW core it will be more advisable to change settings in Excel. I thing this should do the trick: [1] (German only :( ). Supposedly newer versions should have similar settings, too. LibreOffice is much nicer in this respect since it politely asks upon import which charset to use.

There is also an new excel format. This may be an alternative too.


17:13, 12 March 2015

I found a solution which works for me. I replaced the line:

$result = chr(239) . chr(187) . chr(191) . $result;


$result = iconv("UTF-8", "CP1252", $result);
11:58, 17 March 2015