Results 1 to 2 of 2

 

Thread: Form text area help - displaying UTF-8 characters

  1. #1
    Typing with both fingers.

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Allt Y Coed Farm, North Pembrokeshire
    Posts
    4,123
    Thanks
    247
    Thanked 198 Times in 157 Posts


    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
    Typing with both fingers.

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Allt Y Coed Farm, North Pembrokeshire
    Posts
    4,123
    Thanks
    247
    Thanked 198 Times in 157 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
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2