Bad line endings in property files.

Issue #15 new
Isaac Rabinovitch
created an issue

Generated property files have Unix-specific line endings at the beginning and platform-specific line endings in the rest of the file. Makes them a pain to edit on Windows or Mac. This happens because the file headers are stored as strings with \n used to encode EOL. The resulting LF character is not translated when the string is written out using println(). To get that effect, replace \n with %n and println with printf.

Affected classes:

Comments (0)

  1. Log in to comment