You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/user/compatibility.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,10 @@ The JVM enforces a maximum array size of 2<sup>31</sup>-1 (by storing the size i
121
121
That is, Strings must be smaller than 2GB. This is the same restriction as JRuby.
122
122
A possible workaround could be to use natively-allocated strings, but it would be a large effort to support every Ruby String operation on native strings.
123
123
124
+
### Strings in UTF-16 and UTF-32 encoding
125
+
126
+
TruffleRuby does not support UTF-16 strings with an odd number of bytes (in native endianness). Similarly, with UTF-32 it needs to be a multiple of 4.
127
+
124
128
### Threads detect interrupts at different points
125
129
126
130
TruffleRuby threads may detect that they have been interrupted at different points in the program compared to where they would on MRI.
0 commit comments