Results 1 to 4 of 4

Thread: Displaying Special Characters in text box

  1. #1
    Join Date
    Jun 2007
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Displaying Special Characters in text box

    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

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jun 2007
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •