<i>string is lower, upper not consistent with Unicode database and other languages</i>.
by
.
D 2025-07-23T05:13:00.525
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment For\sexample,\r\n\r\n```\r\n%\sstring\sis\slower\s\\u00aa\r\n0\r\n%\sregexp\s{[[:lower:]]}\s\\u00aa\r\n0\r\n```\r\n\r\nOn\sthe\sother\shand,\r\n\r\n```\r\n%\stcl::unsupported::icu\sis\slower\s\\u00aa;\s#\sBut\ssee\scaveat\sbelow\r\n1\r\n%\sunicode\sis\slower\s\\u00aa;\s#\sBuilt\soff\sthe\sUCD\sdatabase\r\n1\r\n```\r\n\r\nFWIW,\sPerl,\sPython,\sRuby,\sJava\sall\sreport\sit\sas\slower\scase.\r\n\r\nI\sestimate\sover\sa\shundred\ssuch\smismatches.\r\n\r\nThe\sissue\sis\sthat\salthough\sTcl\salso\sbuilds\sits\stables\susing\sthe\sUnicode\sdata\sfiles,\sfor\sdetermining\slower\sor\supper\scase,\sit\sonly\slooks\sat\sthe\s`General_Category`\sproperty\sof\sthe\scode\spoint\sto\smake\sthe\sdetermination.\sThe\sproblem\sis\sthat\sthe\s`General_Category`\sis\sa\sdisjoint\spartition\sso\sits\svalue\sonly\sindicates\sthe\s"most\scommon"\susage,\snot\sall\spossible\scategorizations.\sThat\sis\sa\sproblem\sfor\scode\spoints\sthat\scan\sbe\splaced\sin\smultiple\scategories.\sThe\sstandard\stherefore\sdefines\sseparate\s`Lowercase`\sand\s`Uppercase`\sproperties\sfor\sthis\spurpose\sand\sthat\sis\swhat\sall\sother\slanguages\slook\sat\sto\scharacterize\sa\scode\spoint\sas\slower\sor\supper\scase.\r\n\r\nI\sbelieve\sTcl\sshould\sdo\sthe\ssame.\sIf\sthere\sis\sagreement\son\sthis,\sthe\snext\squestion\sis\swhether\schanging\sthis\scan\sbe\streated\sas\sa\sbug\sfix\s(hopefully!)\sor\sneeds\sa\sTIP.\r\n\r\nOpinions\son\sboth\scounts?
J is_private 0
J login apnadkarni
J priority 5\sMedium
J private_contact 9546e9877f1a8899e25a89082561ee694e7fb402
J resolution None
J severity Important
J status Open
J submitter apnadkarni
J subsystem 18.\sCommands\sM-Z
J title string\sis\slower,\supper\snot\sconsistent\swith\sUnicode\sdatabase\sand\sother\slanguages
J type Bug
K 1ecea01196a19b73226d5c822e5fdaf22111aa54
U apnadkarni
Z b18f3edf1c0959ba80d8365aafe74abd