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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.