in reply to Re^4: Best Way to Get Length of UTF-8 String in Bytes?
in thread Best Way to Get Length of UTF-8 String in Bytes?

And just which part of
That assumes that the strings are Unicode strings with their UTF‑8 flags on.
didn’t you understand?
  • Comment on Re^5: Best Way to Get Length of UTF-8 String in Bytes?

Replies are listed 'Best First'.
Re^6: Best Way to Get Length of UTF-8 String in Bytes?
by Anonymous Monk on Apr 24, 2011 at 06:04 UTC
    FWIW, if it is easy to check, code might as well check instead of merely assuming :)
Re^6: Best Way to Get Length of UTF-8 String in Bytes?
by ikegami (Patriarch) on Apr 24, 2011 at 06:06 UTC
    That doesn't affect anything I said.