Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9f320d21c5ffd0843a01c4a8ea5e3f613c86329a
Ticket: 1256872fffffffffffffffffffffffffffffffff
Unicode support for Win32 (NT) console channels
User & Date: a_kovalenko on 2010-08-05 08:47:20
Changes

  1. icomment:
    It turned out that this _is_ still enabled both in 8.5 and 8.6 heads, and in 8.5.8 release, too (as I've migrated to 8.6 a while ago and didn't monitor 8.5, I was sure that it was removed from 8.5 and left enabled on 8.6 only). Somehow it got rejected but not rolled back (or rolled back on 8.4 only, as I suppose). Now we may at least be sure that it doesn't cause a lot of trouble, as it was there for 4+ years. After all those years, keeping it would be _maintaining_ compatibility, not _breaking_ it :)
    
    Unicode console works, unless you try to fconfigure it to some other encoding than "unicode". The situation differs from old, non-unicode I/O in one respect only: "ANSI" codepages are ASCII-compatible, while UCS-2 is not, so after incorrect fconfigure the old code continues to "work" with ASCII subset, which is enough to enter another fconfigure command, for example; but UCS-2 (called "unicode" in TCL) is so different from ASCII and most other codepages, that tclsh seems to be hanged after incorrect fconfigure.
    
    
    
  2. login: "a_kovalenko"
  3. mimetype: "text/plain"
  4. username: "a_kovalenko"