Results 1 to 5 of 5

Thread: Data from external file to flash - encoding problem

  1. #1
    Join Date
    Jan 2007
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Data from external file to flash - encoding problem

    I'm retrieving data from an external php file to flash, using loadVars and inserting data into a dynamic textField.

    Everything works fine, excepts the encoding of text.

    I'm testing in a mac osx. When i try only the output with php, it exports everyting correctly, but on mac it gives me some errors.

    The language is portuguese, that has characters like "" or "". And is in this kind of errors that gives me the encoding erros.

    How can i solve it?

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

    Default

    Are all your files, the flas HTML, the php page etc. all using the proper DOC type handlers and font codes for UTF-8 or the "specific" one you want loaded?
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2007
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i found a solution already.

    System.useCodepage=true;

  4. #4
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry hello

    Where is should had this on the flash file on into the XML http://www.dynamicdrive.com/forums/i...s/confused.gif

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

    Default

    Depends on what exactly you mean?

    Do you want to use XML instead of php? It's a whole different process. I have answered a few times in this thread already, you can search for more exacts with what you want here
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    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
  •