Pound Sterling Problem

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Pound Sterling Problem

    Hello,

    I have some Coldfusion code that receives input from a textarea form field and
    stores it in a MySQL database "text" field. A separate Coldfusion script
    extracts the text from the database and displays it on a web page.

    Everything seems to be working okay except when the pound sterling (?) symbol
    is submitted as part of the form input. The symbol is entered correctly into
    the database. However, when the symbol is extracted from the database and
    displayed on the web page it appears as a question mark (?) symbol.

    What could be causing this?

    Many thanks in advance.

    Simon :confused;

    smnbin Guest

  2. Similar Questions and Discussions

    1. ? Sterling Symbol
      I've just started using mySQL database as opposed to Access, I have a text field where it is more than likely the user will enter a ? (Sterling)...
    2. Pound signs in a URL
      Hi, Let's say for instance, I have an URL such as: www.mysite.com/root/programming/cfdirectory.cfm?debug=0&currentDir=dir3_C#Help&d epth=2 ...
    3. Problem with pound signs in a query string
      I have a form with an address field in which the user may enter a pound sign for an address number. That form is submitted and the page that...
    4. About Using the pound (#) sign
      Hello all I am currently passing variables in URL and came across a case where the value of my variable contains the pound sign: ...
    5. PHP Luminaries Zeev Suraski, Sterling Hughes,and Thies Arntzen highlight php-con West 2003
      Why is php-con the destination of choice for PHP and web developers? Because php-con is about three things: Community. Code. Solutions. php-con...
  3. #2

    Default Re: Pound Sterling Problem

    Please note that this is happening for other special characters as well (i.e. ½). Most special characters are appearing okay though.
    smnbin Guest

  4. #3

    Default Re: Pound Sterling Problem

    Hi smnbin,

    The "usual" standard HTML code for the pound sign is £

    You can probably replace the char() value in your text field with that string.

    HTH,
    philh Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139