Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c5e503beb27d7f412074e09993926ced3d85283d
Ticket: 473946ffffffffffffffffffffffffffffffffff
special characters not correctly sent
User & Date: nijtmans on 2012-05-07 20:33:05
Changes

  1. icomment:
    OK, I'll give a shot at a complete implementation, starting
    with jmphilippe's patch. For the actual data, the CF_TEXT
    clipboard format is used. On WIN2000 this should be
    changed to CF_UNICODETEXT. Windows can do an
    automatic conversion between those two.
    
    Yes, I consider it a bug. the CF_TEXT format assumes
    the system encoding, but Tcl is putting UTF-8 in it.
    When sending a message from Tcl to Tcl, this
    doesn't matter. But when other applications try
    to interpret this UTF-8 as sytem encoding, different
    characters arise.
    
    jmphilippe's patch only handled one way: from
    Tcl to external applications. But the reverse
    should be handled as well.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"