Skip to content

Conversation

@DDQuin
Copy link

@DDQuin DDQuin commented Nov 25, 2024

Mac uses "\n" and so does Unix while Windows uses "\r\n" for end of line. To make it work for all platforms System.lineSeparator() can be used which was introduced in Java 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant