Encoded Error UTF-8

Your software
My Mautic version is: v3.1.2
My PHP version is: 7.3.27
My Database type and version is: mysqlnd 5.0.12-dev

Your problem
My problem is: I am trying to upload a .csv file to a segment that I created and am receiving the following error: “The file is not encoded correctly into UTF-8.”

These errors are showing in the log:

Steps I have tried to fix the problem:

Try opening the .csv file in Excel (Windows) or Numbers (Mac) and if everything looks in order and good then export it again into .csv to see if that fixes it.

What is the character set of the MySQL server? UTF-8 Unicode (utf8)

Here is the command to check the character set of your database

mysql> USE my_database;
mysql> show variables like "character_set_database";

default_charset UTF-8 UTF-8
this is the configuration under “Core”