Input Chinese Character

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

  1. #1

    Default Input Chinese Character

    I having problem to insert chinese character from textarea input into MS Access
    DB, the funny character save into DB?
    I try out <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
    but still the same result?
    Anyone can help?

    cybersabah Guest

  2. Similar Questions and Discussions

    1. Chinese character extraction:
      Hi i wonder to extract Chinese character, anyone can give me some guidelines? I use AVTextCopyProcCBExtract proc to extract english word, which...
    2. Showing Chinese character:
      I wonder to show a chinese word in AVAlertNote, is it possible? Please give me some guidelines if it can. Thanks your concern. Regards, Tham
    3. Chinese Character in SQL 2000
      Hi, I know someone has asked similar question but the solution in this forum seems can't help me. I am now using SQL 2000 (ENG version) and...
    4. display chinese character
      hi, i wonder why dreamweaver can't display the chinese character that i entered...boxes appeared; but correct chinese characters display in...
    5. Chinese Character Conversion???
      Hi, I've got an english site designed that I need to translate into Chinese. I've got the Chinese wording to work with but I can't figure out...
  3. #2

    Default Re: Input Chinese Character

    cf ignores that meta header. you need to be using the access for unicode driver.

    PaulH Guest

  4. #3

    Default Re: Input Chinese Character

    PaulH's solution is ideal. However, if you don't have Admin access to the
    database,
    then put this code in your Application.cfm or Application.cfc:



    <!---
    The code in the scriptlet ensures that variables in form and url scope,
    i.e. client input, remain in Unicode format, irrespective of the encoding
    that the client uses.
    --->
    <cfscript>
    SetEncoding("form","utf-8");
    SetEncoding("url","utf-8");
    </cfscript

    BKBK Guest

  5. #4

    Default Re: Input Chinese Character

    well whether or not you use access for unicode (but you *have* to if you want your data captured properly), you certainly should be using bkbk's code snippet--it's a good practice.
    PaulH Guest

  6. #5

    Default Re: Input Chinese Character

    I can insert the chinese character, but having the problem to insert long text
    into Ms Access memo field?
    I try to insert the text like 2 paragraph still ok but more than that came out
    the error message?

    Message like:
    Error Executing Database Query.
    Application uses a value of the wrong type for the current operation.

    But i try to open my Ms access and paste into the Memo field it work OK??

    cybersabah 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