A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: text output

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    7

    text output

    I try to upload xml external text file, and it works..but there is a problem..

    in text field :

    joe's diary become joe's diary

    anybody knows how to fix it?

    I use encoding utf=8

    thank you in advance.

  2. #2
    Junior Member
    Join Date
    Jul 2003
    Posts
    7
    nobody knows ?

  3. #3
    Member
    Join Date
    Jan 2003
    Location
    Australia, Adelaide (SA)
    Posts
    97
    Hi nomad17,

    Just use a HTML enabled text field to display your data and all will be well.

    XML rules specify that certain characters must be escaped in attribute values and text. Most XML Parsers will do this for you when you set the value/text in the DOM.

    Fortunately this escaping is the same as HTML, so displaying the results in a HTML field solves the issue.

    Hope this helps!
    Tim Walters
    Senior Developer
    XML Evangelist
    "XML isn't a language, it's a way of life!"

  4. #4
    Junior Member
    Join Date
    Jul 2003
    Posts
    7
    yes, it works!

    thank you so much for the help.

    have a nice day

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