>Sim
>> 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.

I have done this already and it appeared in coldfusion correctly but the 
file.encoding still remains at 1251.

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

Default locale is en and still no joy
>
>i guess you should also check if the apps on the russian server setting the 
>locale server wide?
>

It does set the locale but to en
>> 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?
Apologies - it should have said that the settings summary is staying as cp1251. 
The services and server have been restarted a number of times.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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

Reply via email to