The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

UTF-8 characters in campaign content

Highlighted
Member

UTF-8 characters in campaign content

Hi,

 

I am trying to send a campaign to Constant Contact api and this campaign contains romanian characters like  "ă", "ș", "î" etc. I set encoding="utf-8" as atribut for xml, but with no result.

 

Has Constant Contact support for this kind of characters?

 

Thanks

3 REPLIES 3
Highlighted
Moderator

Re: UTF-8 characters in campaign content

Currently Constant Contact has native support for any characters in the ISO-8859-1 character set.  For any characters outside of this character set, you would want to convert them to the HTML Entity version instead.  For more information, please see the resource below:

 

ISO-8859-1 Character Set: http://en.wikipedia.org/wiki/ISO/IEC_8859-1

 

If you provide the language you are using, we may be able to help you with how to encode the HTML Entities for that language.

 

Dave Berard
Senior Product Manager, Constant Contact
Highlighted
Retail

Re: UTF-8 characters in campaign content

Hello Dave,

 

We have use an API conncetion to send campaign content. However, via API conncetion, utf8 charset are not supported. On the other hand, the panel supports utf8. We strongly need to send content via API as we have dynamic content for mailing. Would help us with this issue please.

 

Thank you

 

Fatih

Highlighted
Moderator

Re: UTF-8 characters in campaign content

I added a clarification to the UI and API functionality here: http://community.constantcontact.com/t5/API-Enhancement-Requests/API-connection-does-not-support-UTF....  Summary is, the content is being encoded to HTML entities in the UI automatically as part of our WYSIWYG experience.  In the API, developers must do that encoding prior to sending the content through the API.

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured