bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [bug #52395] msguniq 0.19.8.1 for Windows sometimes proces


From: Bruno Haible
Subject: [bug-gettext] [bug #52395] msguniq 0.19.8.1 for Windows sometimes processes .pot file with CRLF EOL incorrectly
Date: Sun, 12 Nov 2017 17:22:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Update of bug #52395 (project gettext):

                Category:                   Build => Translator tools       
                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

I observe the bug also on Linux, but only with an additional --width
argument:
$ msguniq --to-code=utf-8 -w 200 eolbug.pot > eolbug.out

The resulting eolbug.out has a first line that looks like this:
#: .\edu\templates\edu\home.html:69<CR> #:
.\edu\templates\edu\music_country.html:34<CR>

No information has been lost; you only got that impression because the second
part on the line overwrote the first part on the screen.

But a stray <CR>, not succeeded by <LF>, is evidently causing trouble in
editors and possibly syntax errors in some other tools.

(file #42379, file #42380)
    _______________________________________________________

Additional Item Attachment:

File name: eolbug.pot                     Size:0 KB
File name: eolbug.out                     Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52395>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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