- Posts: 13
- Thank you received: 0
Importing Products with accented names
11 years 6 months ago #199020
by cpctw
Importing Products with accented names was created by cpctw
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.38
I'm importing products that come from various regions. A good portion of the names include accented text. The accents show in the CSV file, but they are removed when imported.
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.38
I'm importing products that come from various regions. A good portion of the names include accented text. The accents show in the CSV file, but they are removed when imported.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #199142
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Importing Products with accented names
Hi,
Please check the encoding format of your file ; the best is to use UTF-8 encoding.
Regards,
Please check the encoding format of your file ; the best is to use UTF-8 encoding.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #199316
by cpctw
Replied by cpctw on topic Importing Products with accented names
I have checked the encoding on the CSV file and the database, and they are both UTF-8.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199330
by nicolas
Replied by nicolas on topic Importing Products with accented names
Hi,
HikaShop will not remove any accent during the import of UTF8 files. HikaShop itself, and Joomla, are both fully UTF8. If you import a UTF8 file, the accents won't be removed.
So the only conclusion I can think of is that you think that the CSV you're trying to import is UTF8 when in fact it is not.
HikaShop will not remove any accent during the import of UTF8 files. HikaShop itself, and Joomla, are both fully UTF8. If you import a UTF8 file, the accents won't be removed.
So the only conclusion I can think of is that you think that the CSV you're trying to import is UTF8 when in fact it is not.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199495
by cpctw
Replied by cpctw on topic Importing Products with accented names
I took a second look at the way the file was being created. I have to use an Excel spreadsheet to build the import file, and if you don't save the file as Unicode Text, you don't actually encode.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199521
by nicolas
Replied by nicolas on topic Importing Products with accented names
Unicode basically means UTF8. And if you don't use it, it means that you use your local language encoding, which indeed explains why it didn't work.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #208038
by pbleiman
Replied by pbleiman on topic Importing Products with accented names
I experienced the same issue when creating the CSV file directly from Excel (Mac OS version 2011). The issue can easily be solved by exporting the file as "Windows Comma Separated (.csv)". Other options do not seem to generate a proper UTF-8 file.
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds