• Carlos Ramos Carreño's avatar
    Fix po_import behavior in Python 2. · aadaf6f4
    Carlos Ramos Carreño authored
    Newer versions of polib accept only unicode strings in the
    `pofile` function (because they check if they start by the decoded
    version of the BOM).
    I changed the `data` that is passed to `pofile` to be a unicode
    string in Python 2 too. This seems to work locally in my old
    version of polib, so that at least the old behavior should be
    kept the same.
    aadaf6f4
MessageCatalog.py 27.4 KB