I can't believe it, but I'm not able to set the global character set in MariaDB to 'latin1_german1_ci' so that my database entries with German umlauts (two dots above a vowel) are displayed correctly.
In MySQL I had to replace #define MYSQL_DEFAULT_COLLATION_NAME 'latin1_swedish_ci' with #define MYSQL_DEFAULT_COLLATION_NAME 'latin1_german1_ci' in the configuration file config-win.h.
But in MariaDB I can't find this possibility, although I've googled for many hours.
phpMyAdmin displays the entries with German umlauts correctly, but the following code does not:
 <body>
  <?php
   $db_link = mysqli_connect('localhost', 'user', 'mypassword');
   mysqli_select_db($db_link, 'mydatabase');
   $db_query = 'SELECT * FROM myaddresses ORDER BY mylastname ASC';
   $db_result = mysqli_query($db_link, $db_query);
   $db_row = mysqli_fetch_array($db_result, MYSQLI_ASSOC);
   echo $db_row['mylastname'];
   mysqli_close($db_link);
  ?>
 </body>
</html> 
How resp. where can I configure the global character set in MariaDB?
