Appendix D. Locale Differences

Introduction

This appendix provides a comparison of ColdFusion 8 and ICU4J/CLDR supported locales for date, time, numeric and currency formatting. The ColdFusion code used to produce this data can be found in Listing D.1. Note that Listing D.1 uses core Java to retrieve the ColdFusion locales to eliminate the “old” style locale identifiers such as English (United States) in keeping with “best” practice recommendation to use Java style locale identifiers.

Example D.1. compareLocales.cfm—Compare ColdFusion 8 and ICU4J Supported Locales

<!--- Listing D.1: compareLocales.cfm compares core java/coldfusion supported locales against icu4j locales for date, time, numeric and currency formatting. ---> <cfscript> // test data ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 3: Advanced Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.