I save file in .csv format in UTF-8 eoncoding.
Sample title: 209508,Moschino Toy Boy woda perfumowana Ć w sprayu 100ml,1
title contains PL characters Ć Ś Ó etc.
Now I load csv, then convert to HTML table and then import to DB.
Screen from table html, still display correct:
and after import the result in database is:
Moschino Toy Boy woda perfumowana Ć w sprayu 100ml
Not support PL characters. How to resolve this isse?
This is my code for import:
 session_start();
$file_data = $_SESSION['file_data'];
unset($_SESSION['file_data']);
foreach ($file_data as $row) {
    $data = $row[$_POST["sku"]];
    $title = $row[$_POST["title"]];
    $lang_id = $row[$_POST["lang_id"]];
    if (isset($data)) {
        $statement = $connect->prepare("UPDATE product_details  SET title = '$title'
        WHERE sku = '$data' AND lang_id = '$lang_id'");
        if (!$statement->execute()) {
            $error = 'None or part of the data was updated';
        }
    }
}
echo $error ?? 'Data Updated Successfully';
}
Please note: When I manuall add product from ecommerce system then working and correct display in database Ć Ś, issue is only when I import products.
