Skip to content
Tcl Source Code View Ticket
Login

View Ticket

mis-parse of surrogate pair escapes

Closed / Fixedb6038e5bc8e0c773a5705e1af1752dc97a8a23bdCreated 7 years agoUpdated 7 years ago
Descriptionplain2020-04-28 18:26:40
% puts \uF83D

% puts \uFCA9
ﲩ
% puts \uF83D\uFCA9
💩

The masking in surrogate detection of the parser is incorrect. It detects
some non-surrogate code units to be surrogates.
Referenced by1
dgpplain2020-04-28 18:30:09
See proposed fix in branch.
jan.nijtmanswiki2020-04-28 21:18:22

Absolutely right! Thanks! Fixed now on all branches (8.5 had it too)

jan.nijtmans Closed ticket [b6038e5bc8]. [History diff]2020-04-28 21:34:23
Log in (anonymous is fine) to add a comment.