Special Characters & XML

Hi - I’ve got a problem with some special characters I am trying to use, and its baffling me totally.

I’m embedding a font into a Flash file and using the “Also include these characters” to embed ©®™ symbols… They are for use in a Dynamic Text Field using Classic Text which pulls in content from an UTF-8 encoded XML file (updated by a CMS).

The font embeds fine, but the extra characters do not work correctly. I have checked the font, and these symbols do exist.

If I use Headline™ the ™ doesn’t show, but if I use Headline ™ it shows fine (notice the space)

Any ideas why it will not show without a space.

Apologies in advance, I use seldom use flash and struggle my way through the few sites which I maintain as best as I can.

That should work… are you using CDATA in your XML? that is important any time you are playing with special characters.

ie <value>Headline™</value>
would = <value><![CDATA[Headline™]]></value>

I’m not using CDATA as the entries are formed from an CMS/xslt file and all I got was the xslt code…

In the xml file though there is the ™ though

<headline color="0xffffff">Headline™ radicchio</headline>

Flash just doesn’t display it :frowning:

OK - I’ve got CDATA working

<headline color="0xffffff"><![CDATA[Headline™]]></headline>

But I’ve made a even stranger discovery. © & ® work no worries, but the only way to get the ™ is to make a double entry into the database:

So Headline™™ outputs as Headline™ - the xml file shows 2 ™’s.

Wierd