Symbols like ë and é not showing in textfield

  • ozzu12254
  • Newbie
  • Newbie
  • ozzu12254
  • Posts: 9

Post 3+ Months Ago

Hello,

i have an dynamic textfield, that uses text from a mysql server.
i get all the text but chars like ë and é are not shown.
i have tried everything, when i type is directly in the textfield i see those symbols when loaded by php and mysql i don't see these symbols.

Greetz Henk
  • panreach
  • Novice
  • Novice
  • User avatar
  • Posts: 28

Post 3+ Months Ago

are those font sets installed on the server?
  • ozzu12254
  • Newbie
  • Newbie
  • ozzu12254
  • Posts: 9

Post 3+ Months Ago

the fonts are no problem, even when i set it to arial i have the problem.
but i have fond a bit more.

in my mysql database the word "creëren" for example is correct. also the output of the php script to get the vars into flash has it wright? but when i do an trace in flash in the Data event i get "cren" instead of "creëren" so it has something to do with flash because the symbols like ë,é and so on get lost by entering flash.
i use loadvars("phpscript",_root.phpdata);

can someone help me?
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1855
  • Loc: Uk

Post 3+ Months Ago

http://www.macromedia.com/support/flash ... coding.htm

it looks like Flash uses special characters in a similar way that html needs   to display a space.

I would suggest doing a simple search and replace in php to find all of the accented characters and replace them with the hex codes (as shown on that link), then feed the edited text to the flash file.

So for example,
é wound need to be replaced with %E9

Check this is correct before you implement it as I don't actually know anything about flash :lol: , try some test characters on a static text file feeding to flash first.

Hope this helps.
  • darkthroniar
  • Beginner
  • Beginner
  • User avatar
  • Posts: 42
  • Loc: Los Angeles, CA

Post 3+ Months Ago

Hi moondust

Rtm223 have the reason.

Dinamic text in flahs only acept pseudo-html you must try special characters like &eacute(é) or &euml(ë), you need to make an script to comvert that simbols.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

On a side note, How many custom fonts include thoose characters ?

I'm not sure if this is your problem but if your using a font that doesn't include thoose charaters and embeding the font outlines in flash I wonder what flash is going to use to display thoose characters :scratchhead:

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.