As the old email below discussed, there's a bug in CF5 with setlocal(). Do we know if there's a fix to this or does CFMX fix this?
Paolo >-----Original Message----- >From: Steve Martin [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, October 09, 2001 3:58 PM >To: Cfug-Dev >Subject: [ cf-dev ] CF5 locale bug > > >I've just discovered what appears to be a rather annoying bug in CF5 which >Niklas was good enough to confirm. I plan to make a report and post it to MM >but I'd like you guys to have a go at replicating it first so that I can let >MM know the configuration scenarios involved. > >The suspected bug involves the locale specific features of CF5 and appears >to manifest itself by getting the locale settings for UK and US mixed up. >The following code can be used to determine whether and how your >installation of CF5 is affected: > >(1) ><!--- This should render �1.23 ---> ><cfset oldLocale=SetLocale("English (UK)")> ><cfoutput> >#LSCurrencyFormat("1.23")# ></cfoutput> > >(2) ><!--- This should render $1.23 ---> ><cfset oldLocale=SetLocale("English (US)")> ><cfoutput> >#LSCurrencyFormat("1.23")# ></cfoutput> > >On various machines that I tried the above code on I witnessed $ being >rendered in both cases, OR � in both cases. I haven't managed to get CF5 to >render both a � for (1) and a $ for (2). >I'd appreciate you guys trying this out and letting me know >1) What you find >2) What your various configurations are >3) What your opinions are on what may be causing it >4) Your favourite colour > >Cheers, >Steve Martin >Macromedia Certified Instructor > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] >we found this bug a while back in CF4.5 sp2 after installing win2000sp2 > >-----Original Message----- >From: Steve Martin [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, October 09, 2001 3:58 PM >To: Cfug-Dev >Subject: [ cf-dev ] CF5 locale bug > > >I've just discovered what appears to be a rather annoying bug in CF5 which >Niklas was good enough to confirm. I plan to make a report and post it to MM >but I'd like you guys to have a go at replicating it first so that I can let >MM know the configuration scenarios involved. > >The suspected bug involves the locale specific features of CF5 and appears >to manifest itself by getting the locale settings for UK and US mixed up. >The following code can be used to determine whether and how your >installation of CF5 is affected: > >(1) ><!--- This should render �1.23 ---> ><cfset oldLocale=SetLocale("English (UK)")> ><cfoutput> >#LSCurrencyFormat("1.23")# ></cfoutput> > >(2) ><!--- This should render $1.23 ---> ><cfset oldLocale=SetLocale("English (US)")> ><cfoutput> >#LSCurrencyFormat("1.23")# ></cfoutput> > >On various machines that I tried the above code on I witnessed $ being >rendered in both cases, OR � in both cases. I haven't managed to get CF5 to >render both a � for (1) and a $ for (2). >I'd appreciate you guys trying this out and letting me know >1) What you find >2) What your various configurations are >3) What your opinions are on what may be causing it >4) Your favourite colour > >Cheers, >Steve Martin >Macromedia Certified Instructor > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
