code: def vsenqueue(trg_queue, item_s, args, **kwargs):
      '''Enqueue a string, or string-like object to queue with arbitrary
         arguments, vsenqueue is to venqueue what vsprintf is to vprintf,
         vsenqueue is to senqueue what vsprintf is to sprintf.
      '''
      charset = kwargs.get('charset', _c.FSQ_CHARSET)
      if kwargs.has_key('charset'):
          del kwargs['charset']
  
      # we coerce here because StringIO.StringIO will coerce on file-write,
      # and cStringIO.StringIO has a bug which injects NULs for unicode
      if isinstance(item_s, unicode):
          try:
              item_s = item_s.encode(charset)
          except UnicodeEncodeError:
              raise FSQCoerceError(errno.EINVAL, u'cannot encode item with'\
                                   u' charset {0}'.format(charset))
  
      return venqueue(trg_queue, StringIO(item_s), args, **kwargsf vsenqueue(trg_queue, item_s, args, **kwargs):
      '''Enqueue a string, or string-like object to queue with arbitrary
         arguments, vsenqueue is to venqueue what vsprintf is to vprintf,
         vsenqueue is to senqueue what vsprintf is to sprintf.
      '''
      charset = kwargs.get('charset', _c.FSQ_CHARSET)
      if kwargs.has_key('charset'):
          del kwargs['charset']
  
      # we coerce here because StringIO.StringIO will coerce on file-write,
      # and cStringIO.StringIO has a bug which injects NULs for unicode
      if isinstance(item_s, unicode):
          try:
              item_s = item_s.encode(charset)
          except UnicodeEncodeError:
              raise FSQCoerceError(errno.EINVAL, u'cannot encode item with'\
                                   u' charset {0}'.format(charset))
  
      return venqueue(trg_queue, StringIO(item_s), args, **kwargs)
docs: Enqueue a string, or string-like object to queue with arbitrary
         arguments, vsenqueue is to venqueue what vsprintf is to vprintf,
         vsenqueue is to senqueue what vsprintf is to sprintf.