# File lib/active_support/multibyte/handlers/utf8_handler.rb, line 354
      def g_length(str)
        g_unpack(str).length
      end