View Full Version : Displaying Special Characters in text box
Hu4ley
02-05-2008, 05:41 PM
Hi all,
I was wondering does anybody know the best way to display special czech, slovakian characters in flash?
i.e ěščřžýáíé ĚŠČŘŽ ÝÁÍÉ
I have an input text box which sends text to a dynamic text box on stage, however it doesnt display the special characters when i input them?
I embedded the font to arial yet it doesnt seem to work? Stange as I thought arial would include these?
anybody any ideas on how to fix this?
any help would be much appreciated.
thanks
Hurl
BLiZZaRD
02-05-2008, 06:01 PM
When you create the dynamic text box in the properties panel you will see a button named "Embed" Click this and a option list will appear with language/character choices to choose from.
You can ctrl+click to select multiples if you need too, also there will be a input box under the choices and you can input direct characters to include there.
You also need to ensure that the page the text is going to (if external to Flash) is set up for unicode or UTF-8 encoding, as well as the page the Flash is embedded in.
Hu4ley
02-06-2008, 10:51 AM
nice one! Thanks Blizzard!
Got the textbox working,
The flash sends out the message to a php script which then sends an email. However it is not showing the characters in the email? just this...
sv?j vzkazNapi?
as you can see the missing characters are replaced with "?". I have the page set to UTF 8 encoding and cant understand why they are not being displayed?
Do you think the problem is with the flash or the php script?
thanks
H
BLiZZaRD
02-07-2008, 04:12 AM
Neither. My guess is it is with the email client. Perhaps the specific char set is not installed on the computer, perhaps the email is not being sent/read/opened/compressed as html but as normal text, in which case all "strange" things are dropped..
There are many reasons. You can test it on a web page though, encode the page as utf-8, or better yet use the language code of the specific language. Type a paragraph in the page and upload it to the server, open it. If you still see ? then the char set isn't on the computer, if you do, then take the output of the php before it goes to email and add that to the page, and compare...
rinse cycle repeat.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.