Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 74579900758cb6ec6928ee1e6d60b671e5cac2c5
Ticket: 1442305fffffffffffffffffffffffffffffffff
fconfigure stdout -encoding error
User & Date: davygrvy on 2006-03-04 02:17:32
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    <davygrvy> here's my thoughts..  (mostly off the cuff) As
    the channel driver determines it's encoding based on the
    system it is running under, allowing it to be changed is not
    good.  It isn't good cause the channel driver code isn't
    told about the change
    <ijchain> <tclguy> ok, context is that the Windows unicode
    console patch may be problematic (again)
    <davygrvy> it'd be nice if channel drivers got encoding
    change notices from the generic layer
    <davygrvy> just the unicode ones, anyways
    <davygrvy> so it can know WriteConsoleA or WriteConsoleW
    <davygrvy> calling WriteConsoleW with non-unicode after
    'fconfigure -encoding cp437' is the trap it falls into
    <davygrvy> the channel driver didn't know about the switch
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"