https://doc.rust-lang.org/nightly/std/primitive.str.html#method.len
It's in bytes. So for utf-8 to be need multiplication x6 but better to use utf-8 libraries IMHO
https://doc.rust-lang.org/nightly/std/primitive.str.html#method.len
It's in bytes. So for utf-8 to be need multiplication x6 but better to use utf-8 libraries IMHO
Cool, I’ll fix it.
May be this will help: https://doc.rust-lang.org/nightly/std/primitive.char.html#representation