PDA

View Full Version : Special characters (mdash) not properly displaying



ewon15
February 14th, 2008, 02:17 PM
I have a dynamic text box on the stage that I load text into from and XML doc. I have it set to render as HTML and have embedded the font. Things like apostrophes, quotations and ampersands all display properly using the HTML character references (', ", &, etc). However, when I try to make an m dash (or any type of dash for that matter) it does not display the actual dash, only the character reference (—).

Let me know if you need any code form me... here's the link to the piece i've created. www.rainnetdev.com/clients/jh/portfolio.php

Please help! Much thanks...

VejOut
February 14th, 2008, 03:51 PM
Have you tried using & # 1 5 1 ; instead?

Could also be that the font you are embedding doesn't actually have that character. Not all fonts contain all characters.

ewon15
February 14th, 2008, 06:11 PM
OMG you're a genius! I dont know where you found that character listing...what type of reference is that?

thank you very much!