From a82defff21fcc043ed7069df0e9d0fb50f9052af Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sun, 30 Oct 2016 19:22:39 +0200 Subject: [PATCH] Releases: String.fromCharCode() fix --- RELEASES.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RELEASES.rst b/RELEASES.rst index c0feb180..e5d89d18 100644 --- a/RELEASES.rst +++ b/RELEASES.rst @@ -1934,6 +1934,11 @@ Planned seed mixing; previous algorithm (Shamir's three-op algorithm) is still used for low memory targets and targets without 64-bit types (GH-970) +* Fix String.fromCharCode() behavior for non-BMP characters when standard + behavior is enabled (DUK_USE_NONSTD_STRING_FROMCHARCODE_32BIT disabled): + use ToUint16() + CESU-8 rather than ToUint32() + CESU-8 which produces + two codepoints for non-BMP characters (GH-1046) + * Fix incorrect evaluation order of X = Y expressions when the RHS (Y) mutates the value of X (GH-992)