some Chinese characters can't display in the website

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

  1. #1

    Default some Chinese characters can't display in the website

    We use CF7.0,and use sqlserver2000 as database,but in my website some chinese
    characters can't display correctly ,just display "?" or other letters ,but
    most of the infomation described with chinese characters can display
    exactly,why?

    creazyfeng Guest

  2. Similar Questions and Discussions

    1. How to display Chinese characters under a datagrid?
      I have an HTTPService that returns XML encoded under gb2312. Displaying the XML under the browser shows, correctly, all the Chinese characters....
    2. HTML Editor for Chinese Characters?? Help!
      Is there a free/cheap HTML editor out there that a colleague of mine in China can use to view Chinese characters while editing an HTML page? I can...
    3. Cannot display chinese characters on web page
      I have migrated all the data from MS Access 97 to MS Access 2000. For unknown reason, my ASP prgram can't retrieve any chinese characters on the...
    4. Chinese characters
      I installed Informix on English version Windows XP (Professional). I set the XP's regional settings to "Chinese PRC" and environment variables:...
    5. WebForm contain Chinese characters...
      Hello, My WebForm(*.aspx) contain Chinese characters. When I put them to the web server with Chinese OS, they look fine. But when I put them to...
  3. #2

    Default Re: some Chinese characters can't display in the website

    creazyfeng wrote:
    > We use CF7.0,and use sqlserver2000 as database,but in my website some chinese
    > characters can't display correctly ,just display "?" or other letters ,but
    > most of the infomation described with chinese characters can display
    > exactly,why?
    what "kind" of chinese? what db driver? what datatype are you using to store the
    text? how was the text entered into the bd? what encoding on the cf page?

    PaulH *ACE* Guest

  4. #3

    Default Re: some Chinese characters can't display in the website

    simplified Chinese ,Microsoft SQL Server ,varchar,
    note::the Chinese character which can't display in the website can be stored and display correctly in the database !!
    creazyfeng Guest

  5. #4

    Default Re: some Chinese characters can't display in the website

    Make sure your web pages have UTF-8 encoding (charset).




    BKBK Guest

  6. #5

    Default Re: some Chinese characters can't display in the website

    creazyfeng wrote:
    > simplified Chinese ,Microsoft SQL Server ,varchar,
    > note::the Chinese character which can't display in the website can be stored and display correctly in the database !!
    ok, i guess that means the JDBC one which is ok, BAD! and the rest of my
    questions? "how was the text entered into the db? what encoding on the cf page?"
    i guess i might wistfully add "what encoding did you want to use for your data?".

    to short cut this, you need to be storing your data in the "N" data types. the
    fact that your db can store & display *anything* is completely irrelevant to
    your issue. as varchar data, it gets mangled going in & the mangled on the way
    out & only the mangling s/w knows how this was done. ignore that & concentrate
    on what's happening w/cf & JDBC. fix the datatype, export & re-import the data.


    PaulH *ACE* Guest

  7. #6

    Default Re: some Chinese characters can't display in the website

    this might also help:
    [url]http://www.sustainablegis.com/unicode/greekTest.cfm[/url]
    PaulH *TMM* 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