Strftime date shows � instead of "ä", "ü", "ö"

Hi,

I’ve set in my config:

  'date'  => [
    'handler' => 'strftime'
  ],

in order to show a date like this: 29. September 2022

But when I set the language of my website to German, it shows a “?” symbol instead of the german Umlaute ä, ü, ö. (e.g. 22. M�rz 2022)
I saw in other posts that it has something to do with UTF-8 and locale settings, but what do I have to change and where?

my whole config.php:

<?php 
return [
  'debug' => true,
  'languages' => true,
  'languages.detect' => true,
  'date'  => [
    'handler' => 'strftime'
  ],
];

Or is it maybe not necessary to use the strftime format at all?

Thanks in advance!

The strftime handler is deprecated and shouldn’t be used anymore (see docs). For internationalzed dates, better use the intl handler.

@pixelijn That solved my problem immediately, thank you. :slight_smile: