Skip to content
Tcl Source Code Artifact [361480bc26]
Login

Artifact [361480bc26]

Artifact 361480bc265390fb3ebcb2d5c888bc112be97be6:

Ticket change [361480bc26] - Ticket [3527238fffffffff|3527238fff] <i>implement CF_UNICODETEXT</i> status still Open with 4 other changes by nijtmans on 2012-06-11 18:25:49.
D 2012-06-11T18:25:49
J icomment It\sturns\sout\sthat\simplementing\sthe\s"-binary"\noption\sfor\s[dde\seval]\sand\s[dde\sservername]\nis\snot\strivial.\sBut\sthe\sreal\squestion\sis:\sIs\sit\nreally\snecessary.\sThe\s[dde\seval]\sand\s[dde\nservername]\s\sare\smeant\sto\sbe\sused\sfor\ntwo\stcl\sinterpreters\sto\scommunicate.\sIf\nboth\suse\sUNICODE\sor\sboth\suse\nWINANSI,\sthere\sis\sno\sproblem\sat\sall.\sSo\nthe\sonly\spossible\sproblem\sexists\swhen\nTcl\s8.5\sinterpreters\saccess\sTcl\s8.6\ninterpreters,\sand\sthey\seach\suse\sa\sdifferent\ndde\sversion.\sBut\swhy\sshould\sthey\ndo\sthat?:\sdde\s1.4\sworks\sfine\sin\sTcl\s8.5,\nand\sdde\s1.3\sworks\sfine\sin\sTcl\s8.6\stoo.\nJust\suse\sthe\ssame\sdde\sversion\sat\sboth\nends\sof\sthe\scommunication.\n\nConclusion:\sImplement\sthe\sUNICODE\nprotocol\sfor\sDDE,\swithout\simplementing\nadditional\s"-binary"\soptions.\n\nSo,\sthere\sis\sa\spotential\sincompability:\nAny\sTcl8.5/dde1.3\sclient\saccessing\sa\nTcl8.6/dde1.4\sserver\swill\shandle\ncharacters\soutside\sof\sthe\sASCII\srange\nincorrectly:\sIn\sthis\ssituation,\sWindows\ndetects\sthat\sTcl8.6/dde1.4\shandles\nUNICODE,\sand\swil\sautomaticially\ntransform\sthe\sdata\sfrom\sWINANSI\sto\nUNICODE.\sOnly\s..\sthe\soriginal\sdata\nis\sUTF-8,\snot\sWINANSI.\nThe\sother\sway\saround\sis\sno\nproblem,\sassuing\sthat\sdde\s1.3.3\nis\spresent\simplementing\s[Bug\s473946]\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3527238fffffffffffffffffffffffffffffffff
U nijtmans
Z 3714efb4a135ba6353a847111cfaa39f