URL: <http://savannah.gnu.org/bugs/?52395>
Summary: msguniq 0.19.8.1 for Windows sometimes processes .pot file with CRLF EOL incorrectly Project: GNU gettext Submitted by: ceefour Submitted on: Sat 11 Nov 2017 05:36:43 PM UTC Category: Build Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: eolbug.pot file : (save it as CRLF EOL) #: .\edu\templates\edu\home.html:69 #: .\edu\templates\edu\music_country.html:34 #, python-format msgid "Hi" msgstr "" then run: msguniq --to-code=utf-8 eolbug.pot Expected: #: .\edu\templates\edu\home.html:69 #: .\edu\templates\edu\music_country.html:34 #, python-format msgid "Hi" msgstr "" Actual: warning: Could not open file /usr/share/gettext/styles/po-default.css .\edu\templates\edu\music_country.html:34 #, python-format msgid "Hi" msgstr "" (the warning is ok, but resulting output has incorrect syntax and lost information) But if the file is using LF EOL, file is processed fine. Original bug report: https://code.djangoproject.com/ticket/28773 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52395> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/