From 35be3aabf8bc23f69e837d65f7d76f1333817de3 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 1 Feb 2020 09:15:14 +0100 Subject: [PATCH] ensuring consistent use of php side encoding, testing all encoding cases, correctly report the language in the tag --- lib/I18n.php | 15 ++++++++++++++- tpl/bootstrap.php | 10 +++++----- tpl/page.php | 10 +++++----- tst/I18nTest.php | 6 +++++- 4 files changed, 29 insertions(+), 12 deletions(-) diff --git a/lib/I18n.php b/lib/I18n.php index d01e37b7..2247c4ea 100644 --- a/lib/I18n.php +++ b/lib/I18n.php @@ -130,13 +130,26 @@ class I18n if ($argsCount > 1) { for ($i = 0; $i < $argsCount; ++$i) { if (($i > 0 && !is_int($args[$i])) || strpos($args[0], ' - + @@ -422,7 +422,7 @@ if (strlen($NOTICE)): ?>