Problem with text when inserting into text box

Discussion in 'ASP .Net' started by =?Utf-8?B?Um9iZXJ0IEhhbHN0ZWFk?=, Apr 27, 2004.

  1. Hi guys, I am copying text from Microsoft Word 2003 into a asp.net text box then writing the textbox to a file. My problem is, when I go to display the file using regular asp, it get all these special characters that word has put in for the quotes and aposterphies. is there a way I can solve this before I write to the file? Does asp1.0 take care of this somehow? Or do I need to use a 3rd party app or a second step in word to correct this?

    I know this may not be the right forums to post this type of question.
    My appologies.

    Robert Halstead
     
    =?Utf-8?B?Um9iZXJ0IEhhbHN0ZWFk?=, Apr 27, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?Um9iZXJ0IEhhbHN0ZWFk?=

    Somchai U. Guest

    Use Server.HtmlEncode() function.

    Somchai

    "Robert Halstead" <> wrote in message
    news:...
    > Hi guys, I am copying text from Microsoft Word 2003 into a asp.net text

    box then writing the textbox to a file. My problem is, when I go to display
    the file using regular asp, it get all these special characters that word
    has put in for the quotes and aposterphies. is there a way I can solve this
    before I write to the file? Does asp1.0 take care of this somehow? Or do I
    need to use a 3rd party app or a second step in word to correct this?
    >
    > I know this may not be the right forums to post this type of question.
    > My appologies.
    >
    > Robert Halstead
     
    Somchai U., Apr 27, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jurjen de Groot

    Inserting text into TableCell at runtime

    Jurjen de Groot, Aug 18, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    499
    Xavier MT
    Aug 18, 2003
  2. Ceri
    Replies:
    2
    Views:
    426
    Ceri Locke
    Dec 17, 2003
  3. Gnarlodious
    Replies:
    4
    Views:
    17,642
    elizas
    May 5, 2010
  4. Brandon

    Inserting into a combo box

    Brandon, Aug 3, 2008, in forum: Python
    Replies:
    0
    Views:
    256
    Brandon
    Aug 3, 2008
  5. Bill
    Replies:
    2
    Views:
    131
    Andrew Durstewitz
    Jul 9, 2003
Loading...

Share This Page