D 2017-09-01T23:43:46.127 J assignee nobody J closer nobody J cmimetype text/plain J comment In\spractice\swww-url-encoded\sPOST\sparams\scan\suse\sencodings\sother\sthan\sUTF-8\s(think\sof\slegacy\sTcl\sapplications\sthat\suse\sone\sof\sthe\sISO-8859-x\scharsets).\sIn\sthis\scase\sURL\sparameters\scan\scontain\sreferences\sto\s8-bit\scode\spoints\s(in\sthe\sform\sof\s%[A-F8-9][A-F0-9])\sthat\sare\snot\svalid\sUTF-8\scode\spoints.\r\n\r\nFor\sexample,\s%DC\scan\sbe\sused\sas\sa\spercent\sencoding\sfor\sthe\sgerman\sumlaut\sÜ\s(if\sa\sTcl\sapplication\sis\sbased\son\sISO-8859-1).\sCurrently,\sthe\sdecode\sprocedure\sdoes\snot\sdecode\s%DC\sas\sall\sone\sbyte\sUTF-8\scode\spoints\smust\sstart\swith\s[0-7].\r\n\r\nThis\scommit\simproves\sthe\shandling\sof\sone\sbyte\spercent\sencoded\snon-ASCII\scharacters\sin\sthe\sform\sof\s%[A-F8-9][A-F0-9].\sIt\sallows\sto\suse\sncgi\sin\sapplication\scontexts\sthat\sdo\snot\suse\sUTF-8\sas\sthe\sbase\sencoding.\r\n\r\nA\spull\srequest\swas\screated\son\sGithub.\sSee\shttps://github.com/tcltk/tcllib/pull/13\sfor\smore\sdetails.\sThanks! J foundin 1.18 J is_private 0 J login anonymous J priority 5\sMedium J resolution None J severity Minor J status Open J submitter anonymous J subsystem (unused) J title improve\sncgi's\sdecode\sprocedure J type Patch K 1f900bdf6bb6369987598e8c5f36a1e0f62b9798 U anonymous Z dbfbc5fa7e1e9778614c3128cfcfb5d0