Magento 2 : Illegal characters on import
-
05-10-2020 - |
سؤال
I'm try to import my customers from magento1 to magento2 but got a few errors on import validation.
The import is aimed at a german shop so special chars like "ä, ö, ü" are pretty common, especially in names and addresses.
I have to change the charset but can't find any spot to do that. So here's the question:
• Where do I change the charset to make the import possible ?
• What do I wrong if it isn't the charset ?
Charset is: utf8_general_ci
المحلول
Problem solved:
The default charset of my CSV editor wasn't UTF-8.
Thats why the import was invalid. Once i changed the csv charset in my editor to UTF-8 the import was valid.
So, the issue is
Wrong charset on my .csv file
نصائح أخرى
We can use this website to encode your special characters: http://www.web2generators.com/html-based-tools/online-html-entities-encoder-and-decoder
After getting the encoded chars, we need to use the string replace tool to replace the special characters.