Creating a text with a unicode character results in the unicode characted being split. If used with the rust backend it results in an ugly runtime error.
Warning: When the empty string ("") is used as a separator, the string is not split by user-perceived characters (grapheme clusters) or unicode characters (codepoints), but by UTF-16 codeunits. This destroys surrogate pairs. See “How do you get a string to a character array in JavaScript?” on StackOverflow.
I did not do an extensive check of the codebase for this issue, just fixed the most critical path for us at this point.
Creating a text with a unicode character results in the unicode characted being split. If used with the rust backend it results in an ugly runtime error.
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split
There is a warning in there:
I did not do an extensive check of the codebase for this issue, just fixed the most critical path for us at this point.