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