Skip to content
Tcl Source Code History Of Ticket 920053
Login

History Of Ticket 920053

Artifacts Associated With Ticket 920053

  1. Ticket change [b80f3c48f5] (rid 128910) by davidw on 2004-03-20 13:40:50:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hi,
      
      Problem:
      
      'format' command doesn't respect LC_NUMERIC locale
      information, because of this:
      
      tclUnixInit.c:652:setlocale(LC_NUMERIC, "C");
      
      which is sensible as a way of not messing things up
      internally with Tcl, but creates some problems if one
      needs to output things according to the locale being
      used, with, say, the format command, where I noticed
      the problem.
      
      The only way I can think of, offhand, to fix it would
      be to save the old value, and do setlocale during
      'format' or other commands that return results.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "davidw"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "format doesn't respect locale"
    11. type initialized to: "RFE"
  2. Ticket change [5f0760a365] (rid 115741) by davidw on 2004-03-21 00:06:45:

    1. icomment:
      Logged In: YES 
      user_id=240
      
      On second thought, I'm not really sure you would ever want
      it to default to this, but there are definitely cases where
      it would be useful - when you are outputting to the screen,
      say, when you definitely want to be acting according to the
      user's locale.
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. username: "davidw"
  3. Ticket change [dcf5033202] (rid 114577) by hobbs on 2004-03-21 02:30:27:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      I do not think that the format command should be localized
      by default.  You can always add a locale command, but there
      are a lot of issues for thread-safety, multiple interps, etc
      that have to be taken into account - best by the end developer.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. resolution changed to: "Rejected"
    5. status changed to: "Pending"
    6. username: "hobbs"
  4. Ticket change [578e0e00f6] (rid 94504) by hobbs on 2004-03-21 02:30:28:

    1. closedate changed to: "2004-03-20T19:30:28"
    2. closer changed to: "hobbs"
  5. Ticket change [7e8dd733a1] (rid 97432) by dkf on 2004-03-22 16:10:28:

    1. assignee changed to: "nobody"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      Arguably, there ought to be a way to apply a particular
      locale's formatting rules to a specific format pattern. 
      Changing to FRQ.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. status changed to: "Open"
    6. subsystem changed to: "None"
    7. username: "dkf"
  6. Ticket change [91f06f2cd2] (rid 120699) by dkf on 2004-03-22 16:12:36:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Perhaps this is something that should be done in msgcat? 
      Anything you're formatting according to locale rules
      probably ought to go through a message catalog at the same
      time...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. subsystem changed to: "30. msgcat Package"
    6. username: "dkf"
  7. Ticket change [aa912e41b0] (rid 100945) by dkf on 2006-06-30 15:16:44:

    1. subsystem changed to: "16. Commands A-H"
    2. title changed to: "format doesn\'t respect locale"
  8. Ticket change [7b142c7128] (rid 90451) by dkf on 2006-06-30 15:17:14:

    1. assignee changed to: "dkf"
    2. title changed to: "format doesn\\\'t respect locale"
  9. Ticket change [1319eb0a5b] (rid 124161) by dkf on 2006-06-30 15:28:28:

    1. title changed to: "format ignores locale"
  10. Ticket change [5bc3e955e4] (rid 118391) by dkf on 2009-01-30 21:13:42:

    1. assignee changed to: "dgp"