Richard Heck wrote:

> On 04/09/2016 11:36 AM, Uwe Stöhr wrote:
>> Am 07.04.2016 um 23:37 schrieb Richard Heck:
>>
>>> Then maybe the solution is to disable the writing of native line
>>> endings. Apparently, we can do this by opening the output files in
>>> binary mode. The attached patch does this. Can someone test?

That would make it incompatible with python3. We must open the files in text 
mode and with given encoding.

> No, it's bad. I'm faikrly sure there should be almost no difference
> between the files if it is working correctly. Something has happend
> involving this sort of thing:
> 
> -#: src/frontends/qt4/ui/WrapUi.ui:173
> src/frontends/qt4/GuiParagraph.cpp:163 +#:
> src/frontends/qt4/ui/AboutUi.ui:159
>  src/frontends/qt4/ui/CompareUi.ui:163

If the sorting differences are not caused by different line endings we 
should IMHO replace the msguniq/gettext calls by python code using polib. 
This would be quite easy to implement, and would ensure the same sorting on 
all platforms.

Do we have a bug report for this problem? I might have a look later, thanks 
to al the analysis I have some ideas to try out.


Georg

Reply via email to