Skip to content
Tcl Source Code Artifact [2ddb94e1a3]
Login

Artifact [2ddb94e1a3]

Artifact 2ddb94e1a3c9b40268a8af75bf00e9e6effb898b2ca65f486873ffb0ff818f98:

Ticket change [2ddb94e1a3] - New ticket [367bfdcf896f8cf4|367bfdcf89] <i>Add GB18030 encoding</i>. by oehhar on 2020-11-18 11:05:43.
D 2020-11-18T11:05:43.472
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Encoding\sGB18030\s(Chines\snational\sstandard\s18030)\sis\san\sencoding\swhich\sis\srequired\sfor\sany\ssoftware\sin\sChina.\sThis\sgives\sa\scertain\spreasure\sto\ssupport\sit.\r\n\r\nIt\sis\schallenging,\sas\sthe\swhole\sUnicode\srange\sis\scovered,\sbut\sordered\sin\sa\sdifferent\sway.\r\n\r\nIt\sis\scompatible\sto\salready\spresent\sencoding\sGB2312\sin\sa\sway,\sthat\sGB2312\scodepoints\sstill\sapply.\r\n\r\nJan\sNijtmans\swrote\sabout\sthe\stechnical\sdetails\sin\sticket\s[9575f0dec8]:\r\n\r\n\sWell,\show\sabout\sTIP\s#389\sthen?\sIn\sTcl\s8.7\swe\scan\suse\scharacters\s>\sU+FFFF\sby\sstoring\sthem\sas\ssurrogate\spairs.\sSo\sa\ssingle\s(multibyte)\scharacter\scould\sresult\sin\s2\ssurrogates.\sThat's\snot\spossible\snow,\swith\sthe\scurrent\s"*.enc"\sfiles.\r\n\r\nCurrently\sthere\sare\s4\stypes\sof\s"*.enc"\sfiles:\sSingle-byte\s("S"),\sdouble-byte("D")\sescape-driven("E")\sand\smulti-byte("M").\sSo,\swe\swould\sneed\sa\s5th\stype\s(e.g.\s"U"),\sI\sdon't\ssee\swhy\sthat\swouldn't\sbe\spossible.\r\n\r\nFor\sTcl\s9,\swe\shave\s32-bit\scharacters,\sbut\sstill\swe\swould\sneed\sthe\ssame\sadditional\sformat:\swe\scannot\sdo\sit\swith\sthe\sexisting\s"*.enc"\sfiles.
J foundin 8.7
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Minor
J status Open
J submitter oehhar
J subsystem 44.\sUTF-8\sStrings
J title Add\sGB18030\sencoding
J type RFE
K 367bfdcf896f8cf47f369a0a054b9a9afeec94b0
U oehhar
Z 286cfb330e1914e0110f58ac2e7d152a