Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-05-07
14:42 • Closed ticket [620541ffff]: DDE fails to serve encoded strings plus 8 other ... artifact: f105fd068c user: nijtmans
2003-03-22
06:58 • Ticket [620541ffff]: 1 change artifact: 3741fe8a9d user: kennykb
2002-10-09
08:19 • Ticket [620541ffff]: 4 changes artifact: 8fc5b8b1fa user: bagnonm
08:18 • Ticket [620541ffff]: 4 changes artifact: 2152250736 user: bagnonm
08:14 • Add attachment tclWinDde.c to ticket [620541ffff] artifact: 315f16d86b user: bagnonm
08:14 • Ticket [620541ffff] DDE fails to serve encoded strings status still Open wit... artifact: 72d5587880 user: bagnonm
01:14 • New ticket [620541ffff]. artifact: eeee2231d9 user: bagnonm

DDE fails to serve encoded strings

Closed / Duplicate620541ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 15 years ago
Descriptionplain2002-10-09 01:14:14
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.
bagnonmplain2002-10-09 08:14:14
File Added - 32659: tclWinDde.c
bagnonmplain2002-10-09 08:18:45
Logged In: YES 
user_id=187881

Sorry, this is bug 473946, I missed to check the open bugs 
list. At least, you can close both numbers with the attached 
file. See U. 8-)
bagnonmplain2002-10-09 08:19:28
Logged In: YES 
user_id=187881

Sorry, this is bug 473946, I missed to check the open bugs 
list. At least, you can close both numbers with the attached 
file. See U. 8-)
kennykb Ticket [620541ffff]: 1 change [History diff]2003-03-22 06:58:08
nijtmansplain2012-05-07 14:42:12
allow_comments - 1

Marked as duplicate of #473946
Log in (anonymous is fine) to add a comment.

Attachments: