A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: PHP special chars

  1. #1

    PHP special chars

    I read all the posts on this subject but still can't get it to work. I'm loading stuff out of my database with special characters (, ,..) in it.

    I use urlencode() in PHP and get a result like this:

    Code:
    &lineA=%EB%EBn+mens+is+niet+1+mens%3A&lineB=hij gaat zichzelf zappen,&lineC=toepassen, ontvouwen&lineD=een+merk+kan+niet+%E9%E9n&lineE=merk zijn: het merk als&lineF=een mix van betekenissen&theType=standard&accent=
    This seems to be exactly what I need, as the chracters corespond to the chart in Macromedia technote chart (http://www.macromedia.com/support/fl...l_encoding.htm)

    When i load this in Flash, though, the part with the special chars is ommited in the text box. If I trace it, it has a question mark in the place where the special chars should be.

    I also tried unescape on the string, but that didn't change anything.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    if you publish as F6, you should use utf8encode and urlencode the data

    Musicman

  3. #3
    thanks Musicman, using UTF_encode(), it works perfectly

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center