Problems with umlaut

From semantic-mediawiki.org
Fragment of a discussion from Help talk:CSV format

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

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

with:

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