<i>UTF-8 encoding crashes in UCS-4 mode</i> status still Open with 4 other changes
by
.
D 2004-08-06T00:50:21
J icomment Logged\sIn:\sYES\s\nuser_id=21627\n\nI\sbelieve\sit\sdoes\swhat\sI\swant\sto\sdo:\sexplicitly\sinvoke\ndecoding\sof\san\sUTF-8\sencoded\sstring.\sI\shope\sthat\sthe\sstring\nI\sspecify\scontains\sfour\scharacters,\swhich\sis\sthen\ninterpreted\sas\san\soctet\sstring\sof\sfour\soctets\swhen\spassed\sto\n"encoding\sconvertfrom".\sThis,\sin\sturn,\sshould\sgenerate\sa\nstring\swith\sa\ssingle\scharacter.\n\nUsing\sthe\s\\u\sform\sis\snot\spossible,\ssince\sit\sonly\ssupports\ncharacters\swith\snumeric\svalues\sup\sto\sU+FFFF.\sHowever,\sthe\ncharacter\sabove\sis\sU+0001D6FF,\sMATHEMATICAL\sSANS-SERIF\sBOLD\nITALIC\sSMALL\sZ.\sOther\slanguages\ssupport\sa\s\\U\snotation\sfor\nnon-BMP\scharacters.\sApparently,\sTcl\sdoesn't\s(which\sis\snot\nreally\sa\sproblem\sif\syou\scould\sget\sthe\scharacter\sby\sdecoding\nit\sfrom\sUTF-8).\n
J login loewis
J mimetype text/plain
J username loewis
K 1004065fffffffffffffffffffffffffffffffff
U loewis
Z 5fddc45e04b8acd1b373e2edbc7cbd10