Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eeee2231d993560f926b28666f69475dcd966727
Ticket: 620541ffffffffffffffffffffffffffffffffff
DDE fails to serve encoded strings
User & Date: bagnonm on 2002-10-09 01:14:14
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When serving strings to an external application, they are 
    served in the internal tcl interp encoding. This causes 
    data to be erroneous.
    For example, set the following on a wish:
    
    package require dde
    dde servername test
    set test "this is a test ñ€áéíóú"
    
    and open Word, and create a field like follows:
    
    {DDEAUTO TclEval test test}
    
    You will see the wrong display of the test string.
    
    A very simple solution is to apply the 
    Tcl_UtfToExternalDString conversion before returning the 
    intended string.
    
    Find attached a tclWinDde.c,v 1.8, as of 8.4.0,  with the 
    applied suggestion.
    
  4. foundin changed to: "obsolete: 8.4.0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "bagnonm"
  9. subsystem changed to: "28. dde Package"
  10. title changed to: "DDE fails to serve encoded strings"
  11. type changed to: "Bug"