You are here:  » Product Feed Download Automation - problem with encoding


Product Feed Download Automation - problem with encoding

Submitted by acom on Thu, 2010-06-17 14:01 in

Hi David,
I hope you are doing well.
Thanks to your guide, I successfully set up a cron with a shell script that automatically download and import my product feeds.
On one feed however I have a strange problem : the accents are not encoded properly when the data feed is imported by the shell, but if import the file manually, then it is encoded properly. So I have to reimport the file everyday so that the accents are correctly encoded. It happens only with one file.
Maybe you have an idea about this problem ? Otherwise don't worry I'll try to go further in my analysis.
Best regards,
Frédéric

Submitted by support on Fri, 2010-06-18 11:01

Hi Frédéric,

It sounds like the CLI version of PHP installed on your server has been compiled differently. If you could email me your scripts/import.php, i'll modify it so that it can be called from the shell via a wget request instead of directly via PHP, which will mean that it uses the Apache module version of PHP and should then import in exactly the same way...

Cheers,
David.