I’ve got a brand-spanking new plugin ready to go (watch this space for an announcement) and I’ve had an early tester complain because the README.txt file used Unix/Mac-style LF (\n) instead of Windows-style CRLF (\r\n).
I’d have thought that when you double-clicked on a README.txt files in Windows the viewer would be smart enough to display a Unix text file correctly. I guess I thought wrong.
Looking around, I see WordPress plugins packaged up both ways. Should I repress my Unix/Mac snobbery and reformat my files with CRLF? Does that apply to the PHP files or only to the .txt files?
And are there any other gotchas I might run into when creating zipfiles on a Unix or Mac OS X box?
- The topic ‘CRLF or LF when packaging plugins?’ is closed to new replies.