Mid is broken in XojoScript

Mid acts like MidB in XojoScript. To see the problem, try this script:

dim s as string
s = "aüa"
for i as integer = 1 to s.Len
  print s.Mid( i, 1 )
next

For more details, see <https://xojo.com/issue/38197>