bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Problems at run-time retrieval of msgid with '\\n'


From: Felix Schwarz
Subject: Re: [bug-gettext] Problems at run-time retrieval of msgid with '\\n'
Date: Fri, 03 Aug 2012 23:50:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

sorry for spamming:
I just remembered that mo files are not opaque binary files but are mostly
text with some binary bytes. So I checked my .mo file and indeed the msgid was
compiled as
  "Please use \n for newlines" (single backslash, so it's a newline)

With a quick hack in pybabel's mo file writing I was able to verify that the
runtime works okay but msgfmt does not handle '\\n' correctly.

fs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]