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

  1. #1

    Default ? 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) symbol,
    uploading to Access the character displays correctly however to mySQL a (box)
    is returned. Any ideas how to get the mySQL working correctly.

    pwizzard Guest

  2. Similar Questions and Discussions

    1. set var in another symbol?
      i have a button in a symbol, when i release the mouseclick, i want it to add the value if 1 to a dyn. txt field in another symbol... var name is...
    2. 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...
    3. how to get the symbol name
      Not direct way : when you attach movie pass this value inside initObject and use it later attaching: me.attachMovie( "L_Id", 'newname', 20 ,...
    4. how to tell DB2 backslash is a yen symbol
      Hello , i am useing db2 udb v8.1 on windows. several tables have field name created with Japanese currency yen symbol together with alpha...
    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: ? Sterling Symbol

    I am running MSSQL and just tested this, by typing ALT+0163 into my Windows PC
    to create the ? symbol (as it is not a keyboard key here in the US) And had it
    insert the data into a nvarchar field in the table and it redisplayed fine. I
    guess the question is "what is the field type you are sending the users data
    to?" If its straight up text, it should except any acsii char, if its money or
    integer/numeric, it's probably not liking the non-numeric ? sign. If the field
    is always going to be a Sterling value, I'd say ignore the symbol and display
    it on out put with the LSCurrencyFormat tag, if its going to be different
    currency types, add another field to designate locale so LSCurrency can use it
    to display the proper symbol on output.

    bigbrain28 Guest

  4. #3

    Default Re: ? Sterling Symbol

    Hi,
    i also facing the same problem - my customer want the symbol display in the
    report (CF Report Builder - PDF).

    what i tries is the MYSQL ("??" stored in database ) and the CFM ("?"
    display in CFM) can stored and display, good, but when come to report (CF
    Report Builder - PDF format) this symbol cannot display :(


    Thank you.

    Regards,
    QCH

    QCH Guest

  5. #4

    Default Re: ? Sterling Symbol

    The Unicode for the Pound-sterling symbol is u00A3 or 0x00A3, which has a
    decimal value of 163. Hence, store the symbol in the database as chr(163). For
    example,

    <cfquery>
    insert into myTable (symbol, amount)
    values ('#chr(163)#',29.99)
    </cfquery>



    BKBK 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