PDA

View Full Version : html character problem..


Lynx75
04-01-2003, 05:33 PM
hello everyones!

ok,Ive got this text field where dinamically I load an external .htm text.
In this text Ive got simple <b>,<font> etc etc..
My problem is: ive got some character as "","","" etc etc..and when I load this text into flash I see instead just strange characters but not those ones.
My boss ask me to fix,because is a text inserted with an php interface from users.
I cant teach to use the html code for rapresent those special characters.They have to type in as they are and display correctly..

how do I jump over this prb?

tnx

CyanBlue
04-01-2003, 05:48 PM
Howdy...

What about encoding the string from the PHP and send it to Flash, when the data is in Flash, you can unencode it to see if that works???

Check out the 'useCodePage' to see if that will help you too...

;)

Lynx75
04-01-2003, 06:42 PM
u mean to convert all the character ( etc) from php into the right tag when I save it into the db..mm could do the job..
Ill try tomorrow...

and what about this 'useCodePage'??
where can I find it?

bye

CyanBlue
04-01-2003, 06:55 PM
You could put this code into the frame 1 of your Flash movie...
System.useCodepage = true;
Some people says not to use that and some says don't mind it, so, I'll leave it up to you... Do some searching on the forum with that term, andn you will find some interesting threads...

Let us know how it worked tomorrow... ;)

Lynx75
04-01-2003, 07:14 PM
ok,but why when I export my movie as flash5 all goes fine?
I dont see strange character?
what's the main difference?

bye

CyanBlue
04-01-2003, 07:22 PM
Um... Don't know much about that 'why' part... I guess FMX supports unicode and F5 doesn't??? Don't really know... :(

Lynx75
04-02-2003, 12:48 PM
unfortunately it doesnt works...8(..Ill find a solution via php..

tnx anw