From 7c289a2f289ed4f1ab058330936726c0da3592dc Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 14 Jun 2019 15:26:08 +0200 Subject: [PATCH] CSV import cron, Add utf8_encode to the article post see BT#12723 --- main/cron/import_csv.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/cron/import_csv.php b/main/cron/import_csv.php index 075c2799031..573dc3b2c95 100755 --- a/main/cron/import_csv.php +++ b/main/cron/import_csv.php @@ -376,7 +376,7 @@ public function importCare($file, $moveFile = false) $this->logger->addInfo("New post will be created no match for externalCareId = ".$row['External_care_id']); } - $contentDecoded = base64_decode($row['Article']); + $contentDecoded = utf8_encode(base64_decode($row['Article'])); $post ->setTitle($row['Title'])