Hi Andy, this is the output.
I've added in the filecontent the value returned by
getCharacterEncoding(), which seems to be not correct.
Thanks.

John.

charset utf-8
errordetail     [empty string]
filecontent     Debug - Value of getPageContext().getResponse
().getCharacterEncoding() : ISO-8859-1
header  HTTP/1.1 200 OK Date: Wed, 03 Dec 2008 20:36:31 GMT Server:
Apache Connection: close Transfer-Encoding: chunked Content-Type: text/
html;charset=utf-8
mimetype        text/html;charset=utf-8
responseheader
struct
Connection      close
Content-Type    text/html;charset=utf-8
Date    Wed, 03 Dec 2008 20:36:31 GMT
EXPLANATION     OK
HTTP_VERSION    HTTP/1.1
STATUS_CODE     200
Server  Apache
Transfer-Encoding       chunked
statuscode      200 OK
text    YES

On 3 déc, 13:24, Andy Wu <[EMAIL PROTECTED]> wrote:
> Hi John,
>
> Cfcontent does work so it's likely a more subtle issue.
>
> Just to confirm what you're seeing, can you try the following test page?
>
>     <cfif structkeyexists( url, "test" )>
>         <cfcontent type="text/html; charset=utf-8">
>     <cfelse>
>         <cfhttp url="http://localhost/openbd/index.cfm?test";>
>         <cfdump var=#cfhttp#>
>     </cfif>
>
> Thanks
> Andy
>
> john wrote:
> > Hello,
>
> > In a page I need to get a param in the querystring encoded with UTF-8
> > - Tomcat is configured to accept UTF-8 in the URI with this argument
> > in the default connector : URIEncoding="UTF-8"
> > - Java is started with -Dfile.encoding=UTF-8
> > - The default charset in bluedragon.xml is set to UTF-8 . I use the
> > latest version.
>
> > My querystring :
> > mypage.cfm?tagName=Evénement
>
> > And in my page :
> > <cfprocessingdirective pageencoding="UTF-8" />
> > <cfcontent type="text/html; charset=UTF-8" />
>
> > <cfoutput>#URLDecode(url.tagName,"UTF-8")#</cfoutput>
>
> > Problem : the value returned is always 'Evénement' and not
> > 'Evénement".
> > I've tested also with a jsp page on the same tomcat container and with
> > cfmx on a jrun instance, and the correct value is returned.
>
> > After investigations, it seems to me that it's a problem with the
> > cfcontent tag, the charset specified has no effect on the page
> > processed.
>
> > I've just add a new issue in the bug tracker
> >http://code.google.com/p/openbluedragon/issues/detail?id=66
>
>

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to