Wrong character count in multi-byte string.