You are not logged in.
@ab - I use a function
Utf8TruncateToLength('Обрізати до 10 літер', 10);
// expect 'Обрізати д'
// but actual 'Обрі'
and expect result to be truncated to 10 UTF8 characters, but actual result is truncated to ~10 bytes.
Is it valid behavior?
If yes, then my propose is to change UTF8*Length functions documentation (and the name of parameter maxUTF8 -> maxBytes)
because current documentation is confused...
Offline
I made a pull request to documentation about this
Offline