Problems with accented characters in dynamic text field

I’m getting data to my SWF via a MySQL database. The data being passed contains characters with accents (i.e. é, è etc.) and for some reason, the textfield displays empty squares.

I thought this might have something to do with embedding fonts but doing so only made the boxes disappear. The strangest part of all this is that you can enter accented characters manually in the text field.

Any ideas what’s going on?

-ptolemy

It might have something to do with the font you are using. Perhaps that font doesn’t contain foreign/accented characters… as far as I know, missing characters in a font family appear in the form of squares.

That was my theory at first but I tried entering foreign fonts manually (i.e. directly in the field via Flash), and they displayed correctly.

-ptolemy

url encode them, that should do the trick.

ie.

é = %C3%A9