Status/Resolution/Reason: To Track//NeedMoreInfo
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 02/23/2014
Components: Language
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: PublicBeta /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 3
According to the docs here: https://wikidocs.adobe.com/wiki/display/coldfusionen/ColdFusion+Language+Enhancements#ColdFusionLanguageEnhancements-Scriptsupportfortags
This should work:
<cfscript>
// cfprocessingdirective.cfm
cfprocessingdirective(pageencoding="UTF-8");
week = ["R?hina", "R?t?", "R?apa", "R?pare", "R?mere", "R?horoi", "R?tapu"];
</cfscript>
However it errors with:
Invalid CFML construct found on line 4 at column 23.
ColdFusion was looking at the following text:
pageencoding
The CFML compiler was processing:
A script statement beginning with cfprocessingdirective on line 4, column 1.
A cfscript tag beginning on line 1, column 2.
The error occurred in C:/apps/adobe/ColdFusion/11beta/gettingstarted/cfusion/wwwroot/shared/scratch/blogExamples/coldfusion/CF11/codeForTickets/breakFromEach.cfm: line 4
2 : // breakFromEach.cfm
3 :
4 : cfprocessingdirective(pageencoding="UTF-8");
5 :
6 : week = ["RÄ?hina", "RÄ?tÅ«", "RÄ?apa", "RÄ?pare", "RÄ?mere", "RÄ?horoi", "RÄ?tapu"];
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3712167
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: