1. #1
    Barry Typing with both fingers.
    Join Date
    Aug 2003
    Location
    Allt Y Coed Farm, North Pembrokeshire
    Posts
    3,834
    Thanks
    215
    Thanked 143 Times in 108 Posts

    Form text area help - displaying UTF-8 characters

    I am trying to make a text area display characters that are UTF-8 encoded. For example:-
    Code:
    & = &
    " = "
    but when I make the value of the field eg:-

    Code:
    " The dog & the cat chased around the bush "
    When viewed on IE it reads:-
    "The dog & the cat chased around the bush" instead of
    Code:
    " The dog & the cat chased around the bush "

    Is there anyway to stop the form field translating the UTF-8 characters back to their original form?

    Thanks

  2. #2
    Barry Typing with both fingers.
    Join Date
    Aug 2003
    Location
    Allt Y Coed Farm, North Pembrokeshire
    Posts
    3,834
    Thanks
    215
    Thanked 143 Times in 108 Posts
    Three hours - three hours trying to sort this one out.....

    and the answer is so simple! God I think my brain is still frazzled from Bristol last night!


    Just simply write

    Code:
    & to render & and
    "quot; to render " in your browser or textbox!
    jees i think i'm goin back to bed!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

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

Content Relevant URLs by vBSEO 3.5.0 RC2