This was more stable before the UTF-16 conversion in 5cb959389cbc5dff8ad3473b2088d3c6e3ad784e, so that code might be to blame somewhere.
This was more stable before the UTF-16 conversion in 5cb9593, so that code might be to blame somewhere.