Hi,

I know that MX is now Unicode and as such text is encoded as UTF-8 by default but can anyone explain this:

I am using fusebox so all calls go via index.cfm.

In my index.cfm I am using the following to change the encoding to iso8859-1

<cfprocessingdirective pageencoding="iso-8859-1">
<cfset setEncoding("URL","iso-8859-1")>
<cfset setEncoding("FORM","iso-8859-1")>
<cfcontent type="text/html; charset=iso-8859-1">

Then I have a query which grabs some text from the db and I then output that so I get things like the following:

Trading Faces presents ?Creaking Shadows?

Which should read:

Trading Faces presents "Creaking Shadows"

When I look at the db I can see that the punctuation is correct yet the output is always incorrect no matter what encoding I set.

Where am I going wrong or what have I missed. The db is MySQL 4 on Linux and the fields are varchar.

Cheers

Dave



--
** 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]



Reply via email to