Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1274d66bd14d2b4a69aa957e10f8e683949c2afc
Ticket: 2906752fffffffffffffffffffffffffffffffff
Retrieving current OEM encoding
User & Date: mickey_knox on 2009-12-01 13:02:35
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OEM encoding is used on Windows by the console (.bat, .cmd files). If a string contains diacritical characters, it must be converted from ANSI to OEM encoding prior to writing it to a .bat file.
    
    Currently there's no way of getting the current OEM encoding in Tcl.
    
    I suggest extending the "encoding" command to accept the "oem" parameter, that will return the current OEM encoding (just as the "system" parameter returns the current ANSI encoding).
    
    I have no knowledge of OEM encoding on non-Windows systems, so I leave it to the experts (my first thought was it would just return the system encoding).
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mickey_knox"
  10. subsystem changed to: "44. UTF-8 Strings"
  11. title changed to: "Retrieving current OEM encoding"
  12. type changed to: "RFE"