Hey Douglas.
The main thing is to make sure everything is the same, your database, your pages and
your inputs (url & form)...
Start at the database, work out what it is returning (UTF-8 or ISO-8859-1)
Then rest all of cf to match :)
<cfprocessingdirective pageencoding="ISO-8859-1">
<cfscript>
setEncoding("URL","ISO-8859-1");
setEncoding("FORM","ISO-8859-1");
</cfscript>
make sence?
-----Original Message-----
From: Douglas Humphris [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:45
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] encoding and funny characters
You could put this into Application.cfm:
<cfset setEncoding("URL","utf-8")>
<cfset setEncoding("FORM","utf-8")>
this should do it.
(I haven't figured it out yet, but there are cases where this doesn't
stop the funny characters...)
HTH Douglas
-----Original Message-----
From: Damian Watson [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:00
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] encoding and funny characters
Hi, I know this has come up b4, but I'm getting funny characters coming
out
of strings in MX (i.e. ' comes out as weird things with accents etc) --
what's the solution for it, summit to do with the encoding...??
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]