diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-17 11:24:58 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-18 00:49:16 +0000 |
commit | a57e2f9a763d145b5c6476b62d1c1bb03fc61b61 (patch) | |
tree | 41e7d669e6623cf6c29a940f2eae19ae49dfe535 /Base | |
parent | ab02e3981e5a817667ab8eacd8f8f1a2ce80ebb1 (diff) | |
download | serenity-a57e2f9a763d145b5c6476b62d1c1bb03fc61b61.zip |
LibJS: Combine UTF-16 surrogate pairs when concatenating strings
In the following use case:
"\ud834" + "\udf06"
We were previously combining these as two individual code points. When
concatenating strings, we must take care to combine the high surrogate
from the left-hand side with the low surrogate from the right-hand side.
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions