4 keys for writing cross-platform apps
Briefly

"Web form text input from Windows machines to a server is particularly susceptible to the line-break exception. Text entries submitted from a browser on Windows will have \r\n line endings. You'll need to ensure your web framework automatically converts those to \n for consistency."
"Microsoft Windows is always the exception. No other operating system requires making exceptions like Microsoft Windows does. Linux and macOS are similar enough that most of their behaviors are compatible."
Read at InfoWorld
[
|
]