<i>Truncated encoding for DBCS results in infinite loop and running out of memory</i> status still Open with 3 other changes
by
.
D 2023-07-01T13:55:03.786
J icomment Same\stest\swith\s8.7\r\n\r\n```\r\n%\sencoding\sconvertfrom\sgb12345\sx\r\nunexpected\sbyte\ssequence\sstarting\sat\sindex\s0:\s'\\x78'\r\n```\r\n\r\nNo\sinfinite\sloop\sbut\sstill\snot\swhat\sI\swould\sexpect.\sWith\sthe\sdefault\stcl8\sprofile,\sshould\snot\sraise\san\serror\sbut\sinstead\sstore\sU+FFFD\sas\sis\sdone\sfor\sother\sencodings\sin\scase\sof\struncation.\sFor\sexample,\r\n\r\n```\r\n%\scodep\s[encoding\sconvertfrom\sutf-16\sx]\r\nU+00FFFD\r\n```
J login apnadkarni
J mimetype text/x-markdown
K 66ffafd309111bc7a5044c83636f5098b5804f43
U apnadkarni
Z f8fd06dad0551bf0439ab254e494cab0