code: def po_to_unicode(po_obj):
      
      po_text = po_obj.__str__()
      if type(po_text) != types.UnicodeType:
          po_text = po_text.decode('utf-8')
      
      return po_text
docs: Turns a polib :class:`polib.PoFile` or a :class:`polib.PoEntry` 
      into a :class:`unicode` string.
      
      :param po_obj: Either a :class:`polib.PoFile` or :class:`polib.PoEntry`.
      :rtype: :class:`unicode` string.