summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-16 12:02:55 +0200
committerSimon Rettberg2019-04-16 12:05:24 +0200
commitbab23ea94db7224fe88470a08fc3a1e126d06e4b (patch)
tree4b714e27075671e91e0ee642dd3a50bc2bfdcbe4
parent[statistics] Handle system an mainboard model separately (diff)
downloadslx-admin-bab23ea94db7224fe88470a08fc3a1e126d06e4b.tar.gz
slx-admin-bab23ea94db7224fe88470a08fc3a1e126d06e4b.tar.xz
slx-admin-bab23ea94db7224fe88470a08fc3a1e126d06e4b.zip
[serversetup-bwlp-ipxe] Firce locale to get iconv() to behave
With the C locale, iconv's TRANSLIT is a noop.
-rw-r--r--modules-available/serversetup-bwlp-ipxe/api.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/api.inc.php b/modules-available/serversetup-bwlp-ipxe/api.inc.php
index 61c664b8..2a1c6792 100644
--- a/modules-available/serversetup-bwlp-ipxe/api.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/api.inc.php
@@ -259,6 +259,7 @@ prompt Boot failed. Press any key to start.
goto init
HERE;
+setlocale(LC_ALL, 'de_DE.UTF-8', 'de_DE.utf-8', 'de_DE.utf8', 'de_DE', 'de', 'German', 'ge', 'en_US.UTF-8', 'en_US.utf-8');
if ($platform === 'EFI') {
$cs = 'ASCII';
} else {