<i>Use Microsoft Layer for Unicode for win95/98/ME support</i> status still Open with 4 other changes
by
.
D 2009-08-16T17:40:55
J icomment Adds\simplementation,\swhich\sallows\sto\scompile\sTcl\sin\stwo\sways:\swithout\smslu\ssupport\sand\swith\smslu\ssupport.\sWithout\smslu,\severything\sis\sas\sbefore.\nBut\swhen\sunicows.lib\sis\savailable\s(detected\sin\sthe\sconfigure\sscript),\sthen\san\nadditional\sruntime\scheck\sis\sdone\swhether\swe\sare\srunning\son\s<WinNT\sand\sif\nunicows.dll\sis\savailable.\sIf\sso,\sthen\sthe\s"unicode"\sencoding\sis\sused\sinternally\sand\sunicows.dll\sis\sloaded\sto\sperform\sall\snecessary\sconversions.\n\nThis\sway\sdoesn't\shave\sany\sdisadvantage:\severything\sstill\sworks\sunchanged\non\sWin95/98/ME,\sbut\sthere\sis\sa\ssingle\spotential\sincompatibility:\sThe\nfunction\sTcl_WinUtfToTChar\scurrently\salways\suses\sthe\ssystem\sencoding\nwhen\srunning\son\sWin95/98/ME,\sbut\swith\sthis\schange\sit\smight\sstart\sto\nuse\sthe\s"unicode"\sencoding\sin\sstead.\sCode\swhich\sdepend\son\sthat\n(like\sTk!)\swill\shave\sto\sbe\sadapted,\sbut\sthe\smodification\sis\strivial.\n\nI\shope\sthat\sthis\schange\scould\sbe\saccepted\sfor\sTcl\s8.6,\sI\sdon't\sthink\na\sTIP\sis\sneeded\sfor\sthat.\sBut\ssomeone\swith\n\nThis\spatch\swill\sonly\swork\safter\scompat/mslu/unicows.dll\sis\nchecked\sin,\sbut\sthis\sfile\sis\sredistributable\sso\sthat\sdoesn't\ncause\sany\slegal\sproblems.\sThe\sfile\sunicows.lib\sis\s-\sunfortunately\s-\nnot\sredistributable,\sbut\sit\sis\savailable\sfrom\sany\snewer\sMicrosoft\sSDK.\n\nAny\sfeedback\sis\swelcome.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 2819611fffffffffffffffffffffffffffffffff
U nijtmans
Z c60001f355b9bc9c966e70f01d347d73