macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: Bug in CFCACHE

Subject: Re: Bug in CFCACHE
From: "ronanlucio"
Date: Mon, 27 Aug 2007 22:45:35 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
Scenario: The same error ocurred in two scenarios:

 1) Server: Linux RHE-4 + ColdFusion-8 Standard Upgraded from ColdFusion-7 
Standard
    Hardware: Woodcrest Dual Processor Dual Core, 2 Gb RAM, 2 HD SATAII 250 Mb
    Apache-2.0.52 with DefaultCharset ISO-8859-1

 2) Server: CentOS-4.4 + ColdFusion-8 Developer Upgraded from ColdFusion-8 
Developer
    Hardware: Celeron-1.2 Ghz, 512 Mb RAM, HD IDE 80 Gb
    Apache-2.0.52 with DefaultCharset ISO-8859-1

 3) User: Windows-XP (pt_BR) with Internet Explorer-6 and Firefox-2.0.0.6 
(pt_BR)

 4) Linux Ubuntu-7.04 (pt_BR) with Firefox-2.0.0.6 (pt_BR)

 To reproduce the Bug:

 1) Have a CFM template saved in ISO8859-1 or Cp-1252 Format
    with some accented characters like:

    Balne?rio Cambori?, Localiza??o e etc.

 2) Insert the tags:
    <cfprocessingdirective pageencoding="iso-8859-1">
     <cfcache action="cache" timespan="#CreateTimeSpan(0,0,15,0)#">

    as the first lines in the template.

 3) Open the webpage via browser

    It's OK, the page wasn't cached

 4) Hit the browser's reload button (to get the cached page)

    The accented characters wrong.

    "Balne?rio Cambori?" is showed as "Balne??rio Cambori??"
    "Localiza??o" is showed as "Localiza????o"

 5) If I change the Apache's DefaultCharset to UTF-8, cfcache works
    fine with CFM Templantes, but the non ColdFusion pages like
    (.HTM, .PHP and etc.) are shown wrongly.


<Prev in Thread] Current Thread [Next in Thread>