cancel
Showing results for 
Search instead for 
Did you mean: 

Special characters problem in constant contact

Occasional Contributor

Special characters problem in constant contact

Hi,

  We have a problem.

 

! " # $ % & ' ( ) * + - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ € ‘ ’ “ ” – — ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯ ° & ² ³ ´ µ ¶ · ¸ ¹ º & ¼ ½ ¾ ¿ À A´  à A¨ Å Æ C¸ È E´ Ê E¨ Ì I´ Î I¨ Ð Ñ Ò O´ Ô Õ O¨ × Ø Ù U´ Û Y´ Þ ß à a´ â ã a¨ å æ c¸ è e´ ê e¨ ì i´ î i¨ ð ñ ò o´ ô õ o¨ ÷ ø ù u´ û u¨ u¨ y´ Œ œ W Y w y ‚ ? „ … ™ ? •    These are the special characters in ckeditor. But the problem is it is not showing in your constant contact. When we replace some of them with friendly code($html=str_replace("frac14;","&frac14;",$html);),  it is working. But most of them not working with constant contact

eg: str_replace("trade;","&#8482;",$html);

         or

$html=str_replace("trade;","&trade;",$html);

€ ™ — ¡ etc. 

 

We need a solution. We are waiting for your reply.

 

Regards,

Vijay

 

Tags (2)
10 REPLIES 10
CTCT Employee

Re: Special characters problem in constant contact

Hey Vijay,

 

I apologize for not getting back to you sooner.  As of currently we do not allow "€ Œ œ … ™" in our sysetm.  You should be able to replace them with the correct entity.  Can you please post your HTML as an example so I can test it?

 

Ryan Davis
Quality Engineer
Occasional Participant

Re: Special characters problem in constant contact

Hi there,

 

If I could just jump on the back of Vijay's query, I am having a huge amount of trouble getting special characters in the UTC-8 (specifically Czech and Slovak characters) set to work in CC. The code I am using is as follows (and I'm completely prepared to accept it might be wrong):

 

<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/></head><TABLE style="WIDTH: 600px; DISPLAY: table" id=textEdit border=0 cellSpacing=0 cellPadding=0 width="100%" styleclass=" style_TemplateWidth">
  <TBODY>
    <TR>
      <TD vAlign=top width=15><IMG src="https://imgssl.constantcontact.com/letters/images/spacer.gif" width=15 height=1></TD>
      <TD style="TEXT-ALIGN: left; PADDING-BOTTOM: 15px; PADDING-LEFT: 15px; PADDING-RIGHT: 15px; FONT-FAMILY: Arial, Helvetica, sans-serif; COLOR: #a81154; FONT-SIZE: 14pt; PADDING-TOP: 15px" vAlign=top width=510 align=left styleclass=" style_MainPad">
        <DIV><STRONG>Metoda troj&#237ho pohledu - uk&#225;zkov&#253; semin&#225;&#345; zdarma: nov&#225; metoda pro zv&#253;&#353;en&#237 prodeje</STRONG></DIV></TD></TR></TBODY></TABLE>

 

I would appreciate any help you could give me, since our Prague office is champing at the bit to get their campaign going.

Moderator

Re: Special characters problem in constant contact

Constant Contact currently natively supports only the characters in the character set ISO-8859-1.  Anything outside of this character set must be encoded as an HTML Numeric Entity Encoding. 

 

When I render the HTML code you pasted in below, I do see it correctly displaying the accented characters.  It appears that what you're doing is correct.  It also looks like the code you're pasting here is not from our API but from our WYSIWYG editor in our product, which normally does the character encoding for you when you paste them in or type them in. 

Dave Berard
Senior Product Manager, Constant Contact
Occasional Contributor

Re: Special characters problem in constant contact

I am having endless problems trying to get accented characters converted into a format which Constant Contacts API can handle.

 

some of the examples that I have been using are as follows (some of these pass fine and others do not. more so the later)

 

ABBĀSĀBĀDwáéíóäëiöúàèììùéçı

 

 

unless I plan to replace every accented character I can not seem to see a way round this. I have tried a number of different options even by encoding numberic as i saw in another post however that does not display as expected in the UI of Constant contact.

 

Anyone have any thoughts on how to get round this ?

Honored Contributor

Re: Special characters problem in constant contact

Hello,

 

The issue you're running into is that Constant Contact currently only accepts characters in the ISO-8859-1 character set as the contents of an email campaign. Because this limitation is in place, the only method to include character that are outside of that set is to use numeric HTML equivalents. This method allows you to encode any unicode character as an HTML entity that can then be viewed in a client capable of displaying HTML. You can read more about this here: http://en.wikipedia.org/wiki/Numeric_character_reference

 

As to your note about things not displaying correctly in the UI, it is definitely possible to look into that. Doing so would be a great deal easier if it is possible to provide a specific example of something that is not displaying correctly.

 

Sincerely,

Elijah G.
API Support Engineer
Occasional Visitor

Re: Special characters problem in constant contact

Numeric codes do not work in constant contact. I tried using &mdash; or &ndash; or &#8226; and they all get changed to other characters. Super frustrating.

Frequent Visitor

Re: Special characters problem in constant contact

I am also having trouble having &#353; not show up as š . Any tips are welcome! (And the chat and phone lines are closed.)

 

Moderator

Re: Special characters problem in constant contact

Hello @VancouverChamberChoir,

 

I'm not positive this will work either, but you can try &scaron; as well.


Regards,
Jimmy D.
Tier II API Support Engineer
Frequent Visitor

Re: Special characters problem in constant contact

Thanks for the note, Jimmy, but that doesn't seem to work either. Hmmm...