Specifications

18 Migrating ColdFusion 5 Applications
Localization
This section describes the changes between ColdFusion 5 and ColdFusion MX that
affect locale functions. It contains the following topics:
Extended character code support
Changes to formatting functions
Other locale-specific changes
Note: Results from localization functions might differ, depending on your Java Runtime
Environment (JRE). The contents of this section reflect tests on the SUN JRE version 1.4
and the IBM JRE version 1.3.0. Macromedia has also tested using the SUN JRE version
1.3.1_01; however, many of these tests failed on locales other than English(US).
Extended character code support
ColdFusion MX supports character code values 0–65535, whereas ColdFusion 5
supports 1-255. This affects string-processing functions. For more information, see
Len() in “CFML functions and variables” on page 13.
Support for new currency formats
ColdFusion MX recognizes new currency formats for new locales. For example, when a
Euro currency is passed into the
LSIsCurrency function, ColdFusion MX returns Yes if
the locale is a Euro member, and No if not. Also,
LSIsCurrency() now returns “yes” for
the locales and currency formats listed in the following table:
Locale Newly supported currency formats
English(Australian) AUD123,456.78
English(Canadian) CAD123,456.78
English(New Zealand) NZD123,456.78
English(UK) £123,456.78
GBP123,456.78
Fre nc h( Be lg ia n) 123. 45 6, 78
123.456,78 FB
BEF123.456,78
French(Canadian) 123 456,78
123 456,78 $
CAD123 456,78
Fre nc h( St an dard) 123 45 6,78
123 456,78 F
FRF123 456,78
Fre nc h( Sw is s) 123' 45 6. 78
SFr. 123'456.78
CHF123'456.78
German(Austrian) öS 123.456,78
ATS 12 3.45 6, 78