RE: Supported Locales

2002-08-11 Thread Neil Robertson-Ravo =TMM=
It does #LSCurrencyFormat(100, "Local")# where Local is your systems local currency settings... in my case its English (UK). Neil Clark Team Macromedia http://www.macromedia.com/go/team Announcing Macromedia MX!! http://www.macromedia.com/software/trial/ -Original Messa

Re: Supported Locales

2002-08-11 Thread Paul Hastings
> How come CF doesn't have a locale to show currency in British Pounds? this produces pounds in CFMX i seem to recall a bug in cf5. #LScurrencyFormat("1000","local")# btw in CFMX, setlocale isn't persistent. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http:/

RE: Supported Locales

2002-08-11 Thread Neil Robertson-Ravo =TMM=
17:56 To: CF-Talk Subject: Re: Supported Locales > How come CF doesn't have a locale to show currency in British Pounds? this produces pounds in CFMX i seem to recall a bug in cf5. #LScurrencyFormat("1000","local")# btw in CFMX, setlocale isn't persistent.

Re: Supported Locales

2002-08-11 Thread Paul Hastings
> Paul, when you say "in CFMX, setlocale isn't persistent", can you > elaborate? Do you mean for that specific app? for that page only. which if you think about, is probably a better approach for i18n apps. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.

RE: Supported Locales

2002-08-11 Thread Neil Robertson-Ravo =TMM=
So you should set up an application variable to hold the locale? neil -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED]] Sent: 11 August 2002 18:26 To: CF-Talk Subject: Re: Supported Locales > Paul, when you say "in CFMX, setlocale isn't persist

RE: Supported Locales

2002-08-11 Thread Bud
On 8/11/02, Neil Robertson-Ravo =TMM= penned: >It does > >#LSCurrencyFormat(100, "Local")# > >where Local is your systems local currency settings... in my case its >English (UK). On versions 4, 4.5 and 5, English (UK) shows as $1,000.00. -- Bud Schneehagen - Tropical Web Creations _/_/_/_

Re: Supported Locales

2002-08-11 Thread Paul Hastings
> So you should set up an application variable to hold the locale? for i18n? "session". > for that page only. which if you think about, is probably a better > approach for i18n apps. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version:

Re: Supported Locales

2002-08-11 Thread Paul Hastings
> On versions 4, 4.5 and 5, English (UK) shows as $1,000.00. just do a replaceNoCase (maybe a UDF) or simply slap the pound sign on a decimalFormat. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Rel

RE: Supported Locales

2002-08-11 Thread Neil Robertson-Ravo =TMM=
: 11 August 2002 18:32 To: CF-Talk Subject: RE: Supported Locales On 8/11/02, Neil Robertson-Ravo =TMM= penned: >It does > >#LSCurrencyFormat(100, "Local")# > >where Local is your systems local currency settings... in my case its >English (UK). On versions 4, 4.5

Re: Supported Locales

2002-08-11 Thread Paul Hastings
> Nope, I am running CF5 here, and it shows as £ > It all depends on your OS locale. its not supposed to, else whats the point of setLocale()? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release D

RE: Supported Locales

2002-08-11 Thread Neil Robertson-Ravo =TMM=
dia.com/go/team Announcing Macromedia MX!! http://www.macromedia.com/software/trial/ -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED]] Sent: 11 August 2002 20:00 To: CF-Talk Subject: Re: Supported Locales > Nope, I am running CF5 here, and it shows as £ > It all de

Re: Supported Locales

2002-08-11 Thread Paul Hastings
that's nice but still, its not supposed to work that way. > Well, I can tell you that I am running Windows 2000 [UK Locale], > ColdFusion 5. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release D

Re: Supported Locales

2002-08-12 Thread Bud
On 8/12/02, Paul Hastings penned: >just do a replaceNoCase (maybe a UDF) or simply slap the pound sign on a >decimalFormat. Well, the problem is this is in my shopping cart. I have it where you can set multiple locales and currency exchange rates and the user can choose the currency they wish t

RE: Supported Locales

2002-08-12 Thread Bud
On 8/11/02, Neil Robertson-Ravo =TMM= penned: >Nope, I am running CF5 here, and it shows as £ > >It all depends on your OS locale. Why? I thought the whole idea behind locales was so you could show the proper currency/date formats for that locale. Anyway, the client I'm asking about this for is

RE: Supported Locales

2002-08-12 Thread Bud
On 8/11/02, Neil Robertson-Ravo =TMM= penned: >Well, I can tell you that I am running Windows 2000 [UK Locale], >ColdFusion 5. > >And if I add this to a template : > >#LSCurrencyFormat(100, "Local")# > >and nothing else I get this : £100.00 > >It is all to do with the Locale of your Windows insta

RE: Supported Locales

2002-08-12 Thread Robertson-Ravo, Neil (REC)
nothing directly to do with your actual locale at the present time! Neil -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: 12 August 2002 10:35 To: CF-Talk Subject: RE: Supported Locales On 8/11/02, Neil Robertson-Ravo =TMM= penned: >Nope, I am running CF5 here, and

Re: Supported Locales

2002-08-12 Thread Paul Hastings
> choose the currency they wish to show. It will take a bunch of work > to do a hack throughout the cart just to make it work the way it > should already work. :) then upgrade to cfmx. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Vers

Re: Supported Locales

2002-08-12 Thread Bud
On 8/12/02, Paul Hastings penned: > > choose the currency they wish to show. It will take a bunch of work >> to do a hack throughout the cart just to make it work the way it >> should already work. :) > >then upgrade to cfmx. When all the bugs are out of it, I may. I certainly can't expect pe

RE: Supported Locales

2002-08-12 Thread Craig Dudley
I wouldn't use currency signs at all, format everythign in decimals and use letter for currency, GBP, USD etc etc -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: 12 August 2002 12:19 To: CF-Talk Subject: Re: Supported Locales On 8/12/02, Paul Hastings p

Re: Supported Locales

2002-08-12 Thread Paul Hastings
> >then upgrade to cfmx. > > When all the bugs are out of it, I may. I certainly can't expect i don't know of all that many show stoppers in mx. access & unicode, some COM issues, a funky scheduler are about all that come to mind now. > pain putting hacks into your code to make things work as ex