.
D 2018-06-16T06:05:38.450
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Since\sTIP\s389\swas\scommitted\sin\score-8-branch,\sthat\sis\ssince\s[e109760b1c],\stwo\stests\sfrom\sthe\sTk\stest\ssuite\sstarted\sfailing\sas\sfollows:\r\n\r\n<verbatim>\r\n====\sfont-4.12\sfont\scommand:\sactual\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sfont\sactual\s{-family\stimes}\s--\s\\ud800\r\n\r\n----\sTest\sgenerated\serror;\sReturn\scode\swas:\s1\r\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s0\s2\r\n----\serrorInfo:\sexpected\sa\ssingle\scharacter\sbut\sgot\s""\r\n\s\s\s\swhile\sexecuting\r\n"font\sactual\s{-family\stimes}\s--\s\\ud800"\r\n\s\s\s\s("uplevel"\sbody\sline\s2)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"uplevel\s1\s$script"\r\n----\serrorCode:\sTK\sVALUE\sFONT_SAMPLE\r\n====\sfont-4.12\sFAILED\r\n\r\n\r\n====\sfont-4.15\sfont\scommand:\sactual\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sfont\sactual\s{-family\stimes}\s--\s\\udc00\\ud800\r\n\r\n----\sTest\scompleted\snormally;\sReturn\scode\swas:\s0\r\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s1\r\n====\sfont-4.15\sFAILED\r\n</verbatim>\r\n\r\nBoth\sbehaviors\scan\sbe\sreproduced\seasily\soutside\sof\sthe\sTk\stest\ssuite:\r\n\r\n<verbatim>\r\n%\spackage\srequire\sTk\r\n8.7a2\r\n%\sfont\sactual\s{-family\stimes}\s--\s\\ud800\s\s\s\s;\s#\sfont-4.12\r\nexpected\sa\ssingle\scharacter\sbut\sgot\s""\r\n%\sfont\sactual\s{-family\stimes}\s--\s\\udc00\\ud800\s\s\s\s;\s#\sfont-4.15\r\n-family\stimes\s-size\s12\s-weight\snormal\s-slant\sroman\s-underline\s0\s-overstrike\s0\r\n%\r\n</verbatim>\r\n\r\nNote\sthat\sin\scontrast\sfont-4.13\sand\sfont-4.14\sdo\snot\sfail,\sdespite\sbeing\svery\ssimilar:\r\n\r\n<verbatim>\r\n%\sfont\sactual\s{-family\stimes}\s--\s\\udc00\s\s\s\s;\s#\sfont-4.13\r\n-family\stimes\s-size\s12\s-weight\snormal\s-slant\sroman\s-underline\s0\s-overstrike\s0\r\n%\sfont\sactual\s{-family\stimes}\s-family\s--\s\\ud800\\udc00\s\s\s\s;\s#\sfont-4.14\r\ntimes\r\n</verbatim>\r\n\r\nI'm\sunsure\swhether\simplementation\sof\sTIP\s389\shas\sa\sbug,\sor\sif\sTk\sshould\sbe\schanged\sto\smatch\sTIP\s389,\sbut\sI'm\sinclined\sto\ssuspect\sthe\sformer\sbecause\sthe\sTIP\sstates:\s<pre>As\slong\sas\sno\sSurrogates\sor\scharacters\s>=\sU+010000\sare\sused,\sall\sfunctions\sbehave\sexactly\sthe\ssame\sas\sbefore.</pre>
J foundin core-8-branch
J is_private 0
J login fvogel
J priority 5\sMedium
J private_contact a013af67114eccc19ad12b04f14923acea9e96b7
J resolution None
J severity Minor
J status Open
J submitter fvogel
J subsystem 44.\sUTF-8\sStrings
J title TIP\s389\simplementation\smakes\sTk\stests\sfail
J type Bug
K 53cad613d8a4de166e680f09a6c6399ebddbc17c
U fvogel
Z 6c13d183f1529b80cd4ee4673c4dbaa0