Following up with that, as I was thinking of some examples of what I mean...
Take kanji, for example. ζΌ’ε is 2 characters, but it's 6 bytes, so is the length 2 or 6?
Or the phrase "GΓ³Γ°a nΓ³tt" in Icelandic. It's 9 characters (counting the space in the middle), but it's 12 bytes. So, should this fail the maxlength check, if the maxlength is 10?
@ramsey @jkt @simevidas length is 2 characters, size is 6 bytes when encoded in utf8 I believe?