Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b80f3c48f51118019ae15219faef0cbc0114fe8f
Ticket: 920053ffffffffffffffffffffffffffffffffff
format ignores locale
User & Date: davidw on 2004-03-20 13:40:50
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davidw"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "format doesn't respect locale"
  11. type changed to: "RFE"