Jump to content

Google Merchant Centre feed


themistral

Recommended Posts

Hi guys,

 

I am using PHP to create an XML data feed for Google Merchant Centre.

 

However, the database contents are stored as ISO-8859-1 but the GMC feed needs to be in UTF8 (as far as I can tell).

It works fine if I leave the description out, but when I add in the description, the feed fails.

 

I am presuming this is because of the difference in character encoding.

 

I've tried utf8_encode and iconv, neither of which worked.

 

There are characters such as bullets in the description so could this be the problem?

 

Can someone please point me in the right direction to solve this?

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/268464-google-merchant-centre-feed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.