Closed Bug 1316880 Opened 8 years ago Closed 8 years ago

Parsing a .ini file with Windows line endings returns Junk

Categories

(Localization Infrastructure and Tools :: compare-locales, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: Pike)

References

Details

Attachments

(2 files)

Attached file updater.ini
It happened with the attached file while testing the l20n migration script.

The .val I get for Junk is _junk_8_247-248, haven't checked if the rest of the file is read properly
Looking at the output of the Transvision testing branch, it reads the values, with a weird new line at the end

'suite/updater/updater.ini:InfoText' => '%MOZ_APP_DISPLAYNAME% sta installando gli aggiornamenti e si avvierà fra qualche istante…
',

'suite/updater/updater.ini:TitleText' => 'Aggiornamento %MOZ_APP_DISPLAYNAME%
',
Comment on attachment 8809880 [details]
bug 1316880, make line-ending handling universal universially,

https://reviewboard.mozilla.org/r/92380/#review92406

Thanks, it works great. Only nit: typo in the commit message ;-)
Attachment #8809880 - Flags: review?(francesco.lodolo) → review+
Assignee: nobody → l10n
https://hg.mozilla.org/l10n/compare-locales/rev/bc436e6748c408fde110a6de5952d19c1478fc33, FIXED.

Also edited the commit message.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: