#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    2
    Rep Power
    0

    Help with Cold Fusion locality settings


    Hi,

    Is it possible to change your cold fusions locality setting to be different to the one of the operating system?

    I know asp has Session.LCID, does Cold Fusion have something similar?
    Or a Cold Fusion ini file maybe?

    Cheers
    Dave
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,242
    Rep Power
    967
    Not sure what you mean here...are you talking about making CF multilingual (i.e. using UTF-8 encoding)? If so, this is done with the CFSETTING tag in ColdFusion MX.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    2
    Rep Power
    0
    Sorry,

    I meant for the input settings.

    Eg, for dates:
    US format - mm/dd/yyyy
    #Month("mm/dd/yyyy")# = "mm"

    AU format - dd/mm/yyyy
    #Month("dd/mm/yyyy")# = "dd"

    The problem I'm having is that once a date is out of a AU database and is just a string. CF date functions can't be used as the CF is in US format.

    Is there a way to overwrite CF's locality setting and force it to be AU?

    Thanks in advance.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    New Delhi,India
    Posts
    8
    Rep Power
    0

    Cool


    Hi,
    I am a newbie at Cold Fusion.I was just looking for a hint to enable multilingual support on the CFMX server and I got it from "kiteless".But I am unable to find the CFSETTING tag.Can you just tell me where I can find that.
    Thanks in advance.
  8. #5
  9. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,242
    Rep Power
    967
    My bad, it's not <cfsetting>, it's <cfprocessingdirective>:

    http://livedocs.macromedia.com/coldf....htm#wp1102085

IMN logo majestic logo threadwatch logo seochat tools logo