> How can you tell what the Java default locale variable is?

How to set/use the default locale:

http://short.badpen.com/?Y1K4IYIS 

Getting it using Java:

<cfset locale = createObject("java", "java.util.Locale").getDefault()>

On my system (using the methods within the java.util.Locale object) I
get the following info:

toString()           : en_GB
getLanguage()        : en
getCountry()         : GB
getISO3Language()    : eng
getISO3Country()     : GBR
getDisplayLanguage() : English
getDisplayCountry()  : United Kingdom
getDisplayName()     : English (United Kingdom)

Tim.


-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
Visit our new website at http://www.rawnet.com for
more information about our company, or call us free
anytime on 0800 294 24 24.
-------------------------------------------------------
Tim Blair
Web Application Engineer, Rawnet Limited
Direct Phone : +44 (0) 1344 393 441
Switchboard : +44 (0) 1344 393 040
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to