=?iso-8859-1?Q?Re: Re: how can I strip a UK =A3 sign from a u rl variable??=

2007-04-08 Thread Paul Hastings
stylo stylo wrote:
 However cf7 on the host gives the same type error after setting to 
 setLocale(en_GB) - btw, moving to BD shortly if that makes a difference.

no, it cannot give the same error, cf7 accepts java style locales. your host is 
using a cf version prior to 7.

 I have no idea, sorry, I guess the default.

if your host is cf6/7 then it should be utf-8 but that depends on if someone 
changed the server encoding.

could be the reverse case, latin-1 or whatever encoding coming in via your url 
 
utf-8 on the cf page. try adding

cfprocessingDirective pageEncoding=iso-8859-1 to the top of that snippet. 
if 
that doesn't fix it, then it might be whatever encoding. i guess then try 
windows-1252 codepage.

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274824
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


=?iso-8859-1?Q?Re: Re: how can I strip a UK =A3 sign from a u rl variable??=

2007-04-08 Thread Paul Hastings
stylo stylo wrote:
 using cf7, utf-8, that snippet works fine. 
 
 I checked GetEncoding(URL) and it said utf-8

and did you set it previously? in any case that's what cf's expecting/using not 
what the other app's producing.

can you post the entire url var or point to a public page that exhibits the 
problem?

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274825
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


=?iso-8859-1?Q?Re: Re: how can I strip a UK =A3 sign from a u rl variable??=

2007-04-07 Thread Paul Hastings
stylo stylo wrote:
 That local it says doesn't exist and gives an error.

then you're pre-cf7. what version of cf?

 Parameter 1, �6.16, of function LSParseCurrency is  an invalid currency 
 value in the current locale. 

what encoding is the page that produced the url value, the page accepting it, 
etc.? have you tried urlDecode on those url vars?

using cf7, utf-8, that snippet works fine. i can however reproduce your error 
by 
changing the cf page encoding to iso-8859-1 (though the text is still utf-8). 
any public place i can see this url goop?

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274793
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4