Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 361480bc265390fb3ebcb2d5c888bc112be97be6
Ticket: 3527238fffffffffffffffffffffffffffffffff
Full unicode support for Dde
User & Date: nijtmans on 2012-06-11 18:25:49
Changes

  1. icomment:
    It turns out that implementing the "-binary"
    option for [dde eval] and [dde servername]
    is not trivial. But the real question is: Is it
    really necessary. The [dde eval] and [dde
    servername]  are meant to be used for
    two tcl interpreters to communicate. If
    both use UNICODE or both use
    WINANSI, there is no problem at all. So
    the only possible problem exists when
    Tcl 8.5 interpreters access Tcl 8.6
    interpreters, and they each use a different
    dde version. But why should they
    do that?: dde 1.4 works fine in Tcl 8.5,
    and dde 1.3 works fine in Tcl 8.6 too.
    Just use the same dde version at both
    ends of the communication.
    
    Conclusion: Implement the UNICODE
    protocol for DDE, without implementing
    additional "-binary" options.
    
    So, there is a potential incompability:
    Any Tcl8.5/dde1.3 client accessing a
    Tcl8.6/dde1.4 server will handle
    characters outside of the ASCII range
    incorrectly: In this situation, Windows
    detects that Tcl8.6/dde1.4 handles
    UNICODE, and wil automaticially
    transform the data from WINANSI to
    UNICODE. Only .. the original data
    is UTF-8, not WINANSI.
    The other way around is no
    problem, assuing that dde 1.3.3
    is present implementing [Bug 473946]
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"