Add encoding parameter to getTweetLength()

As mb_strlen() relies on mb_internal_encoding() to set encoding, length is not properly calculated in case internal encoding != 'UTF-8'