From 1b206e8495f86e46ec4bf404a36028f6db6c6f34 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 c44b67e..174ed77 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], ' - + @@ -440,7 +440,7 @@ if (strlen($NOTICE)): ?>