Results 1 to 4 of 4

Thread: ASP.NET converts TM ™ symbol to a ? (question mark)

  1. #1
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    203
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default ASP.NET converts TM ™ symbol to a ? (question mark)

    on a postback my vb.net pages are converting TM symbol to a question mark (?)...

    any reason why a server would do this, global settings? is there an override for the web.config file?!

  2. #2
    Join Date
    Feb 2004
    Posts
    4,877
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Is your web.config set to UTF-8 encoding?
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. #3
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    203
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    my web.config is using:

    <globalization fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1" />

    Defaulting to UTF-8 Symbols simply vanish...

  4. #4
    Join Date
    Jun 2005
    Posts
    1,080
    Thanks
    4
    Thanked 15 Times in 15 Posts

    Default

    UTF-8 should work, but it would also depend on how you are processing the text input, for example if you are storing these in a database table is the column set-up to accept UTF-8 encoding or some other encoding.

    In addition, whilst the web.config may be set to use UTF-8 are any of the pages set to use a specific culture (perhaps you have some code in global.asax which is overriding the web.config setting).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ASP.net 2.0 & Shared SSL
    By JohnnyW in forum ASP.NET
    Replies: 3
    Last Post: 27th June 2006, 05:43 PM
  2. ASP.NET, CGI & Verotel
    By TheBadger in forum ASP.NET
    Replies: 4
    Last Post: 6th April 2006, 07:32 PM
  3. Health Education, Question & Answer Session
    By Warren Ashcroft in forum Jokes and Stories
    Replies: 0
    Last Post: 23rd February 2006, 03:48 AM
  4. ASP.net 2.0
    By JohnnyW in forum Sales and Service Feature Enquiries
    Replies: 17
    Last Post: 8th November 2005, 02:01 PM

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
  •