From 9af961579f8f1fc462815f28e7f13b67a813a54c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 27 Jun 2023 01:19:22 +0200 Subject: [PATCH] Doc --- htdocs/core/class/translate.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index 9569a9c2731..a3e69c61e15 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -786,6 +786,7 @@ class Translate } if ($pagecodefrom == 'UTF-8' && $this->charset_output == 'ISO-8859-1') { $str = utf8_decode(str_replace('€', chr(128), $str)); + // TODO Replace with iconv("UTF-8", "ISO-8859-1", str_replace('€', chr(128), $str)); ? } return $str; }