Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Encoding handling in dde

Closed / Fixed3525762fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-05-11 07:13:43
Follow-up on #473946

Another dde encoding experiment. Try the
following in wish (note the accént on the 'e',
which is on purpose)

package require dde
dde servername tést
set tést "this is a tést"

Then open Word, and create a field like follows:

{DDEAUTO TclEval tést tést}

It will give the message:
    "The remote data (tést) is not accessible. Do you want to start the applcation TclEval?"

Now try:
{DDEAUTO TclEval tést tést}

This works!
nijtmansplain2012-05-28 15:40:04
proposed fix in bug-3525762 branch
nijtmansplain2012-05-29 14:57:39
allow_comments - 1

The only caveat I could find with this, is that from now
on dde no longer works on Windows 9x, it requires
Windows NT (or - possibly - Windows CE, not tested).
Therefore, unfortunately,  this fix cannot be
backported as-is.

B.T.W.: This fix only introduces the UNICODE handling
of the servername, servicename and the topic, not
any other data.

See also FRQ 3527238 for the remaining to be
done to get dde fully UNICODE- aware for
all data. It is separated in a bug-fix and a
frq, because FRQ 3527238 has more
compatibility implications, which therefore
needs a TIP first.
nijtmansplain2012-05-29 14:57:52
allow_comments - 0
dkfplain2012-05-29 16:00:54
It should be noted that Win 9x hasn't been supported by Microsoft for a few years now, and anyone needing that sort of functionality can stick with an older Tcl branch.
Log in (anonymous is fine) to add a comment.