Verity and CFFile with special chars

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Verity and CFFile with special chars

    Verity and CFFile processing special characters, resolves ??????????`??
    incorrectly. This doesn't happen in normal HTML files. I have tried to apply
    various charsets: windows-1252, us-ascii, iso-8859-, UTF-8 - setting the
    attribute charset in CFFile - specifying the language parameter in
    CFCollection, CFIndex and CFSearch and - <meta http-equiv='content-type'
    content='text/html;charset=<cfoutput>#request.charset#</cfoutput>' /> to no
    avail. I have read somewhere that the Verity Search Packs are not really a
    factor and could be ignored. But just in case, are there Verity Search Paks
    available to developers without buying the full CF MX? Thank You for helping.

    Conti Guest

  2. Similar Questions and Discussions

    1. Verity and CFFile with special characters
      Verity and CFFile processing special characters, resolves ??????????`?? incorrectly. This does not happen in normal HTML files. I have tried to...
    2. receiving ??? chars instead of "special" chars
      Hello i have a strange problem i made a online catalogue and must submit orders to a remote server I need to connect to a remote webservice on ...
    3. XML loosing special chars
      We have an XML file that is loading both English and Spanish to display on a screen. The word Yes or S? in Spanish looses the accent " ? ".. We...
    4. loadVariables &amp; special chars
      Hi I've searched the forum and din't find an answer, so.. I followed the instructions at ...
    5. [PHP] replacing & but not special chars
      How about you decode the string, and then encode it like so: $decode = html_entity_decode($input); $output = htmlentities($decode); If you have...
  3. #2

    Default Re: Verity and CFFile with special chars

    what version of cf? how did you build the verity collections? what encoding are
    your files in? post your code.

    the verity language packs require a cf serial number to download i think,
    guess you'd really only need these for production work.

    PaulH Guest

  4. #3

    Default Re: Verity and CFFile with special chars

    Thanks for helping PaulH ColdFusion MX 6.1 The files are encoded 'window-1252'
    and the only special caracters are these : ??????????`?? The test code looks
    like this : <cfsilent> <cfprocessingdirective pageencoding='window-1252'>
    </cfsilent> <cfcollection action = 'delete' collection =
    'mycollection'> <cfcollection action = 'list' name = 'verity' > <cfquery
    name = 'qoq' dbtype = 'query'> select * from verity where verity.name =
    'mycollection' </cfquery> <cfif qoq.recordcount EQ 0> <cfcollection
    action = 'create' collection = 'mycollection' path =
    'c:\inetpub\wwwroot\altamarcaweb\collections' > </cfif> <cfindex
    collection = 'mycollection' action = 'update' type = 'path'
    key='c:\inetpub\wwwroot\altamarcaweb'
    urlpath='http://localhost/altamarcaweb' extensions='.htm, .html'> <cfif
    isDefined('form.criteria')> <cfparam name='form.criteria' default=''>
    <cfsearch name = 'testsearch' collection = 'mycollection'
    type = 'criteria' criteria = '#form.criteria#' > <!DOCTYPE
    HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'> <html lang='en-us'
    dir='ltr'> <HEAD> <title>blah</title> <meta http-equiv='Content-Type'
    content='text/html; charset=windows-1252' /> <meta
    http-equiv='Content-Language' content='en-us' /> </HEAD> <body> <h2>Search
    Results</h2> <cfoutput>Your search returned #testsearch.RecordCount#
    file(s).</cfoutput> <cfoutput query='testsearch'> File: <a
    href='#URL#'>#Key#</a><br> Document Title (if any): #Title#<br> Score:
    #Score#<br> Summary: #Summary </cfoutput> </body> </html> <cfelse> <html>
    <head> <title>Searching a collection</title> </head> <body> <h2>Searching a
    collection</h2> <form method='post' action='verity.cfm'> <input type='text'
    name='criteria' size='50' maxLength='50'> <input type='submit'
    value='Search'> </form> </body> </html> </cfif> Unless is something really
    obvious that I am not realizing, the only othe option are the Verity Search
    Packs. Do you know if Macromedia has a free version of them for 'production
    only'? All the Best. Walter Conti

    Conti 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