Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
New line special character in Header [BATCH-1320] #2259
We are able to generate output file with header by implementing FlatFileHeaderCallback and using delegate for FlatFileItemWriter.
But we see a special character(new line character) when we see output in windows server 2003 platform and we dont see new line character on windows XP .
When I further looked at FlatFileitemwriter soruce code I see following
I think we need to replace "\n" with DEFAULT_LINE_SEPARATOR which is available in the class.
Affects: 2.0.0, 2.0.1