Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Conti #1
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
-
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... -
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 ... -
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... -
loadVariables & special chars
Hi I've searched the forum and din't find an answer, so.. I followed the instructions at ... -
[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... -
PaulH #2
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
-
Conti #3
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



Reply With Quote

