Simon Whittaker wrote:
> locale) I have managed to change the java default locale to be en_GB but the
> locale is stubbornly staying at cp1251. We believe this may be having an

cp1251 is a windows codepage (encoding), not a locale.

> effect on some of the number formatting etc but can't get it to change to

it shouldn't. locale is locale & that's what should be controlling locale 
resources. encoding is another issue. which is giving you trouble? if locale 
you 
can try forcing the jvm to a locale via:

-Duser.language=en -Duser.region=GB

what you have already should do the trick for file encoding.

you can peek at the server default locale via getLocale().

i guess you should also check if the apps on the russian server setting the 
locale server wide?

> even test that hypothesis. The setting I have tried in the jvm config is:
> -Dfile.encoding=cp1252 but it still says in the settings summary that it's
> using cp1252

? you mean 1251? did you stop/restart the server?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to