len() will return the number of characters, not the byte count. For Unicode strings, each character can be more than one byte.