Symbols in database field not displaying properly


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Symbols in database field not displaying properly

  1. #1
    Harry Maynard Guest

    Symbols in database field not displaying properly


    When I attempt to display a field stored in my Access database that contains
    a symbol such as an apostrophe or a tilde above a letter in my asp web pages
    I get a small square instead of the letter that I wanted.

    I have developed a news release system that the user posts the news release
    to a form that gets stored in an access database. It all looks good when
    looking at the database it seams to be when I go to write it out on the page
    that it does not display appropriately.

    I am using the syntax of response.write rs("article") in my page to display
    the information.

    Does anyone know of another way to display this information so that it displays
    in a asp web page appropriately.

    Thankyou.


  2. #2
    Terry Austin Guest

    Re: Symbols in database field not displaying properly

    "Harry Maynard" <harry@thricedata.com> wrote in
    news:3c03f58b@147.208.176.211:

    >
    > When I attempt to display a field stored in my Access database that
    > contains a symbol such as an apostrophe or a tilde above a letter in my
    > asp web pages I get a small square instead of the letter that I wanted.
    >
    >
    > I have developed a news release system that the user posts the news
    > release to a form that gets stored in an access database. It all looks
    > good when looking at the database it seams to be when I go to write it
    > out on the page that it does not display appropriately.
    >
    > I am using the syntax of response.write rs("article") in my page to
    > display the information.
    >
    > Does anyone know of another way to display this information so that it
    > displays in a asp web page appropriately.
    >

    I suspect it's a character set issue in the browser. The characters you're
    not seeing are possibly not supported in the default characters set. I
    *think* you can pull the submitter's character set out of the headers of
    the request, which you could then store with the article, and send back
    out.

    Try this: Write a plain old HTML page with the characters in question, and
    open that directly in the browser and see if they display right.

    Terry Austin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center