[EMAIL PROTECTED] schrieb:
> Leo Kislov wrote:
>
>> Try msgunfmt
>> http://www.gnu.org/software/gettext/manual/html_node/gettext_128.html#SEC128
>> to see if it can convert your files back to text.
>
> Just tried it, and it was able to convert each of the .mo files back to
> text without any prob
Leo Kislov wrote:
> Try msgunfmt
> http://www.gnu.org/software/gettext/manual/html_node/gettext_128.html#SEC128
> to see if it can convert your files back to text.
Just tried it, and it was able to convert each of the .mo files back to
text without any problems.
Russ
--
http://mail.python.org/
[EMAIL PROTECTED] wrote:
> Martin v. Löwis wrote:
> > [EMAIL PROTECTED] schrieb:
> > > Traceback (most recent call last):
> > > File "panicbutton.py", line 36, in ?
> > > lan = gettext.GNUTranslations (open (sLang, "rb"))
> > > File "C:\Python24\lib\gettext.py", line 177, in __init__
> > >
Martin v. Löwis wrote:
> [EMAIL PROTECTED] schrieb:
> > Traceback (most recent call last):
> > File "panicbutton.py", line 36, in ?
> > lan = gettext.GNUTranslations (open (sLang, "rb"))
> > File "C:\Python24\lib\gettext.py", line 177, in __init__
> > self._parse(fp)
> > File "C:\Pyt
[EMAIL PROTECTED] schrieb:
> Traceback (most recent call last):
> File "panicbutton.py", line 36, in ?
> lan = gettext.GNUTranslations (open (sLang, "rb"))
> File "C:\Python24\lib\gettext.py", line 177, in __init__
> self._parse(fp)
> File "C:\Python24\lib\gettext.py", line 280, in _p
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
> > lan = gettext.GNUTranslations (open (sLang))
>
> are you sure the data file is a text file? what happens if you change
> the above to
>
>lan = gettext.GNUTranslations (open (sLang, "rb"))
The .mo files aren't text files, they're binary, bu
[EMAIL PROTECTED] wrote:
> lan = gettext.GNUTranslations (open (sLang))
are you sure the data file is a text file? what happens if you change
the above to
lan = gettext.GNUTranslations (open (sLang, "rb"))
?
--
http://mail.python.org/mailman/listinfo/python-list