Skip to main content
Inspiring
November 5, 2008
Question

How do I get Special character Euro symbol € to display ?

  • November 5, 2008
  • 1 reply
  • 3350 views
Hi,
How do I get the euro symbol € to display in Flash from PHP file created in DW ?. It does not display it properly. I have simplified the PHP code I have is:

<?php
$msgtoflash = "This is the Euro Symbol &#8364";
print ("&Databaseinfo=$msgtoflash");
?>

The &#8364 is a special character code for HTML.
If I use the $ or £ symbols it works perfectly but not € ?

Thanks,
Paul
This topic has been closed for replies.

1 reply

Inspiring
November 5, 2008
maith wrote:
> How do I get the euro symbol ? to display in Flash from PHP file created in DW
> ?. It does not display it properly. I have simplified the PHP code I have is:
>
> <?php
> $msgtoflash = "This is the Euro Symbol &#8364";
> print ("&Databaseinfo=$msgtoflash");
> ?>

Flash doesn't understand HTML numeric entitites. You need to use the
Unicode code point. Try this:

$msgtoflash = "This is the Euro Symbol: \u20AC";

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
maithAuthor
Inspiring
November 6, 2008
Thanks for your reply, but It is still not working.
The data I now get displayed in Flash from PHP is: This is the Euro Symbol: \u20AC

Any other suggestions ?

Thanks,
Paul