<cfcontent type="text/html; charset=utf-8">
<cfprocessingdirective pageEncoding="utf-8"/>
<cfheader name="Content-Type" value="text/html;charset=utf-8"
charset="utf-8" />
<cfscript>
SetLocale("en");
SetEncoding("form", "utf-8");
SetEncoding("url", "utf-8");
</cfscript>
We use a page without meta tags to rule out confusion. The analysis of
the page header shows the following settings:
Receiving Header:
HTTP/1.1·200·OK(CR)(LF)
Connection:·close(CR)(LF)
Date:·Fri,·30·Mar·2007·18:22:54·GMT(CR)(LF)
Server:·Microsoft-IIS/6.0(CR)(LF)
Set-Cookie:·CFID=5109;expires=Sun,·22-Mar-2037·18:22:54·GMT;path=/(CR)
(LF)
Set-Cookie:·CFTOKEN=3d74eeca785c8211-A415F549-
CDB5-483E-0653C03A73846E2A;expires=Sun,·22-Mar-2037·18:22:54·GMT;path=/
(CR)(LF)
Set-Cookie:·JSESSIONID=40303cbf117f2960212d;path=/(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Language:·ja-JP(CR)(LF)
Content-Type:·text/html;·charset=shift_jis(CR)(LF)
(CR)(LF)
We tried it with other languages too and it changes the settings based
on the language. So some auto-detection mechanism must be in place. We
have seen this with CF MX6.1 and MX7
Is there any way to make it use the user-supplied settings?
Regards.
Joop Kaashoek
<fmt:setLocale value="ja_JP" scope="session"/>
it messes with the following content headers:
Content-Language:
Content-Type:·
Trying to force it back to the proper settings afterwards does not
appear to work.
Is there a work-around to make JSTL work properly with Coldfusion?
http://forums.oracle.com/forums/thread.jspa?threadID=363704
Looking for a work-around..