code: def len(iterable):
      
      if not isinstance(iterable, str):
          return iterable.__len__()
  
      try:
          return len(unicode(iterable, 'utf'))
      except:
          return iterable.__len__()
docs: Redefining len here so it will be able to work with non-ASCII characters