PDA

View Full Version : Special characters in a txt document loaded into flash??


mariamohlin
10-11-2006, 02:31 PM
I have a txt dockument (It´s loaded into a flash movie) and it looks like this:

&news=<p>
<p><font size="11" color="#868061" weight="bold">SAXAT 2006-09-12</font></p>
<p><font size="11" color="#868061" weight="bold">DAGBLADET SUNDSVALL</font></p>
<p><font size="16" color="#868061" weight="bold"><strong>Floor&eacute; nominerat till pris</strong></font>.</p>
<div>
<p>Golvvärmeföretaget Floor&eacute; är</p>
<p>nominerat till exportpriset i</p>
<p>Västernorrland.
<br>
<br>
&

My problem is that the special character &eacute; in Floor&eacute; ends the document, so all text after the "&" character disappears. Is there another way to write "é"?

icktoofay
10-21-2006, 03:39 AM
that isn't the problem. in your text file, change all the &s to &amp;s ie.
"&eacute;" = "&amp;eacute;". even then, you might need to use character codes. i cant really explain these in detail now, though

anonymous
10-21-2006, 03:48 AM
Re-save your text file as UTF-8...

Or try urlencoding...

& = %26

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14143

Ruben
10-28-2006, 01:27 AM
..are you sure you've embedded the font of your textfield properly?

- Ruben